Re: Options for protocol level cursors

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: James William Pye <pgsql(at)jwp(dot)name>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Options for protocol level cursors
Date: 2008-06-13 16:24:51
Message-ID: 12171.1213374291@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

James William Pye <pgsql(at)jwp(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2008-06-13 16:47:22 Re: TODO Item: Allow pg_hba.conf to specify host names along with IP addresses
Previous Message Bruce Momjian 2008-06-13 16:24:48 Re: Overhauling GUCS