Re: use of OID.Unknown - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: use of OID.Unknown
Date
Msg-id 8440.1131481977@sss.pgh.pa.us
Whole thread Raw
In response to Re: use of OID.Unknown  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
[ resending from proper address ]

Kris Jurka <books@ejurka.com> writes:
> On Tue, 8 Nov 2005, Tom Lane wrote:
>> It'd be a good idea to go back and look at the details before thinking
>> of adopting UNKNOWN in a more general context.

> No, actually we went with this solution simply because we had no other
> options.  This may work fine for text data, but how could we possibly
> implement sending in binary format?

That one's simple --- you don't.  Anything you have down as UNKNOWN,
send as text.  You have the option per-parameter in Bind, remember.

            regards, tom lane

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: use of OID.Unknown
Next
From:
Date:
Subject: Re: use of OID.Unknown