From: Dave Cramer <pg@fastcrypt.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Mark Lewis <mark.lewis@mir3.com>
Cc: Kris Jurka <books@ejurka.com>
Cc: Tjioe Ai Xin <xinxincute@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Can PostgreSQL do data type automated casting in
Date: Thu, 24 Nov 2005 16:06:50 -0500
Message-ID: <6022BCB2-7A1B-47A2-AC85-CDBB7CBD127C@fastcrypt.com> (raw)
In-Reply-To: <438626EF.2080408@opencloud.com>
References: <200511211718.26679.xinxincute@gmail.com>
<Pine.BSO.4.61.0511211806430.23994@leary.csoft.net>
<1132616246.4154.10.camel@archimedes>
<6F909ADC-23ED-40CF-A2B5-41DE61606A26@fastcrypt.com>
<438548DB.8070407@opencloud.com>
<73985A37-FA66-4E31-95C1-045F5AE31726@fastcrypt.com>
<438626EF.2080408@opencloud.com>
You're on fairly shaky ground using "allowed by the spec" as
justification. I'm thinking there are far more instances where people
expect Oid unspecified to work than
instances where they are going to change the type of the IN parameter
in the same statement.
Given that the default behaviour adheres to the spec, I'm not too
worried about the case below failing under these specific
circumstances. I presume it passes with the 8.0,8.1 behaviour.
Dave
On 24-Nov-05, at 3:47 PM, Oliver Jowett wrote:
> Dave Cramer wrote:
>
>> Looking at the test case is this a realistic situation ? Would
>> anyone really want to change the types of a parameter of a
>> statement ?
>
> It's allowed by the spec as far as I can tell, so we need to
> support it.
>
> -O
>
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: pg@fastcrypt.com, oliver@opencloud.com, mark.lewis@mir3.com, books@ejurka.com, xinxincute@gmail.com
Subject: Re: Can PostgreSQL do data type automated casting in
In-Reply-To: <6022BCB2-7A1B-47A2-AC85-CDBB7CBD127C@fastcrypt.com>
References: <200511211718.26679.xinxincute@gmail.com> <Pine.BSO.4.61.0511211806430.23994@leary.csoft.net> <1132616246.4154.10.camel@archimedes> <6F909ADC-23ED-40CF-A2B5-41DE61606A26@fastcrypt.com> <438548DB.8070407@opencloud.com> <73985A37-FA66-4E31-95C1-045F5AE31726@fastcrypt.com> <438626EF.2080408@opencloud.com> <6022BCB2-7A1B-47A2-AC85-CDBB7CBD127C@fastcrypt.com>
* 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