Re: Options for protocol level cursors

From: Kris Jurka <books(at)ejurka(dot)com>
To: James William Pye <pgsql(at)jwp(dot)name>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Options for protocol level cursors
Date: 2008-06-13 23:40:41
Message-ID: Pine.BSO.4.64.0806131939240.32466@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 13 Jun 2008, James William Pye wrote:

> My thoughts for creating a HOLD and/or SCROLL cursor on Bind would be to
> add YA GUC stating the cursor options for Bind cursors. Something along
> the lines of "default_bind_options=HOLD,SCROLL".
>
> 2. I'm the only one asking/looking for it. (I'm so lonely ;)
>

The JDBC driver would also like this ability, but a GUC is a pretty ugly
hack. Also, since you still have to go to the SQL level to issue the MOVE
or FETCH BACKWARD, you're still not all the way there to a full protocol
solution.

Kris Jurka

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message James William Pye 2008-06-14 00:59:13 Re: Options for protocol level cursors
Previous Message Andrew Dunstan 2008-06-13 22:21:35 Re: TODO Item: Allow pg_hba.conf to specify host names along with IP addresses