Re: Options for protocol level cursors - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Options for protocol level cursors
Date
Msg-id 12171.1213374291@sss.pgh.pa.us
Whole thread Raw
In response to Re: Options for protocol level cursors  (James William Pye <pgsql@jwp.name>)
Responses Re: Options for protocol level cursors  (James William Pye <pgsql@jwp.name>)
List pgsql-hackers
James William Pye <pgsql@jwp.name> writes:
> On Jun 12, 2008, at 4:45 PM, Tom Lane wrote:
>> Huh?  I don't see why... you might have such a limitation in a
>> particular driver, but not in the protocol.

> Oh? I know when you bind a prepared statement you have the ability
> state the formats of each column, but I'm not aware of the protocol's
> capacity to reconfigure the formats of an already existing cursor; ie,
> a DECLARE'd cursor. I know you can use the Describe message to learn
> about the cursor's column types and formats....

You'd do it while Binding a FETCH command.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Overhauling GUCS
Next
From: Andrew Dunstan
Date:
Subject: Re: TODO Item: Allow pg_hba.conf to specify host names along with IP addresses