From: Kris Jurka <books@ejurka.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Jean-Pierre Pelletier <pelletier_32@sympatico.ca>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: setObject on PGInterval throws "Unknown Type null"
Date: Tue, 25 Jan 2005 17:30:30 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0501251726160.19087@leary.csoft.net> (raw)
In-Reply-To: <41F6B5CE.3040107@opencloud.com>
References: <BAYC1-PASMTP01298C210325B348452D7995850@cez.ice>
<41F557C8.6030805@opencloud.com>
<BAYC1-PASMTP0179C8EF006D25C7EB161295860@cez.ice>
<41F6B5CE.3040107@opencloud.com>
On Wed, 26 Jan 2005, Oliver Jowett wrote:
> [ways to set null values for non-standard types]
I'm kind of leaning to removing the restriction that nulls must be
strongly typed. Compared to the current workarounds the idea that a
(very) few cases won't work isn't that bad. What I recall "? IS NULL"
won't work and "func(?)" could be ambiguous, but that doesn't stop you
from specifying a type for these cases. For non-null values we need the
strong typing to ensure that we don't send data in a different format than
the server expects, but this is not an issue with nulls.
Kris Jurka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, oliver@opencloud.com, pelletier_32@sympatico.ca
Subject: Re: setObject on PGInterval throws "Unknown Type null"
In-Reply-To: <Pine.BSO.4.56.0501251726160.19087@leary.csoft.net>
References: <BAYC1-PASMTP01298C210325B348452D7995850@cez.ice> <41F557C8.6030805@opencloud.com> <BAYC1-PASMTP0179C8EF006D25C7EB161295860@cez.ice> <41F6B5CE.3040107@opencloud.com> <Pine.BSO.4.56.0501251726160.19087@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox