Re: libpq and prepared statements progress for 8.0 - Mailing list pgsql-hackers

From David Wheeler
Subject Re: libpq and prepared statements progress for 8.0
Date
Msg-id 8347888D-09B0-11D9-BC11-000A95B9602E@kineticode.com
Whole thread Raw
In response to Re: libpq and prepared statements progress for 8.0  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: libpq and prepared statements progress for 8.0  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-hackers
On Sep 18, 2004, at 1:09 PM, Oliver Jowett wrote:

> Well, obviously. I haven't modified the backend code to accept 
> 'unknown' in PREPARE..

Right, and that's what we're looking for.

> My point was the client does *not* need to know the type inferred by 
> the PREPARE in the 'unknown' case to make use of the resulting 
> statement. It can pass all parameters as text and use the type 
> inference that happens on EXECUTE -- as is happening in the EXECUTE 
> quoted above.

Yes, that's fine, but it's PREPARE that's at issue here, not EXECUTE.

Regards,

David



pgsql-hackers by date:

Previous
From: "Jeroen T. Vermeulen"
Date:
Subject: Re: transaction idle timeout in 7.4.5 and 8.0.0beta2
Next
From: Oliver Jowett
Date:
Subject: Re: libpq and prepared statements progress for 8.0