pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Jean-Pierre Pelletier <pelletier_32@sympatico.ca>
Cc: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: setObject on PGInterval throws "Unknown Type null"
Date: Tue, 25 Jan 2005 18:10:51 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0501251803010.23282@leary.csoft.net> (raw)
In-Reply-To: <BAYC1-PASMTP037B5B1408A1601B3E163B95860@cez.ice>
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>
	<BAYC1-PASMTP037B5B1408A1601B3E163B95860@cez.ice>



On Tue, 25 Jan 2005, Jean-Pierre Pelletier wrote:

> "func(?)" will be rejected by the server at runtime if there is ambiguity,

Not always, sometimes it will resolve the ambiguity itself in a less than 
expected manner:

http://archives.postgresql.org/pgsql-jdbc/2004-10/msg00114.php

> In the case of "? IS NULL", I don't understand how the type of the null
> would affect the evaluation of this boolean expression.
> 

http://archives.postgresql.org/pgsql-jdbc/2004-10/msg00118.php

Oliver also mentions problems with anyelement/anyarray functions:

http://archives.postgresql.org/pgsql-jdbc/2004-10/msg00116.php

I am OK with all of these failings because they are easily solvable using 
casts or strong typing, while the Types.OTHER case is not easily solvable.

Kris Jurka



view thread (15+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0501251803010.23282@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0501251803010.23282@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0501251803010.23282@leary.csoft.net

 · 

reply

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, pelletier_32@sympatico.ca, oliver@opencloud.com
  Subject: Re: setObject on PGInterval throws "Unknown Type null"
  In-Reply-To: <Pine.BSO.4.56.0501251803010.23282@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> <BAYC1-PASMTP037B5B1408A1601B3E163B95860@cez.ice> <Pine.BSO.4.56.0501251803010.23282@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