Re: Can PostgreSQL do data type automated casting in - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Can PostgreSQL do data type automated casting in
Date
Msg-id 4382E5E0.6080601@opencloud.com
Whole thread Raw
In response to Re: Can PostgreSQL do data type automated casting in  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: Can PostgreSQL do data type automated casting in  (Tjioe Ai Xin <xinxincute@gmail.com>)
List pgsql-jdbc
Dave Cramer wrote:
> The easier way to deal with this has already been discussed. Simply
> bind String to the Oid.Unknown type, and let the server deal with it.
>
> How about we make this a configuration parameter.

I was thinking about this some more and that seems like the best thing
to do for now.

Make it default to off (i.e. current 8.0/8.1 behaviour by default) and
turn it on if you specify a separate parameter or if you specify
compatible=7.4

-O

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Can PostgreSQL do data type automated casting in
Next
From: "Vit Timchishin"
Date:
Subject: Re: Deadlock problem