pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: tightening up on use of oid 0
Date: Fri, 8 Oct 2004 18:07:17 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0410081803430.6860@leary.csoft.net> (raw)
In-Reply-To: <4166F72E.9010201@opencloud.com>
References: <41660A56.5000107@opencloud.com>
	<Pine.BSO.4.56.0410080828180.2827@leary.csoft.net>
	<4166F72E.9010201@opencloud.com>



On Sat, 9 Oct 2004, Oliver Jowett wrote:

> > Can't the existing PGobject interface handle this.  You can create a 
> > PGobject with the correct datatype and a null value and that should work.
> 
> OK, so getValue() and toString() return null?

Right.

> This would still mean that setNull() would not work for Types.OTHER, though.
> 

I don't think this is a very big deal.  The only place this looks 
important is for an overloaded function call.  The previous driver didn't 
have any typing at all for NULLs, and I can only recall one complaint 
about.  The other API additions you suggested didn't really appeal to me 
and we have an "out" with PGobject, so I think we're OK here.

Kris Jurka




view thread (20+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0410081803430.6860@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0410081803430.6860@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0410081803430.6860@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, oliver@opencloud.com
  Subject: Re: tightening up on use of oid 0
  In-Reply-To: <Pine.BSO.4.56.0410081803430.6860@leary.csoft.net>
  References: <41660A56.5000107@opencloud.com> <Pine.BSO.4.56.0410080828180.2827@leary.csoft.net> <4166F72E.9010201@opencloud.com> <Pine.BSO.4.56.0410081803430.6860@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