Operations widh CURSORS

From: Marcos Barreto de Castro <mbdecastro(at)yahoo(dot)com>
To: pgsql-general(at)hub(dot)org
Subject: Operations widh CURSORS
Date: 2000-06-02 11:29:30
Message-ID: 20000602112930.27571.qmail@web6005.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Is it possible to declare 2 cursors in the same
transaction?
I am issuing a "BEGIN WORK" statement, after that I
am issuing "DECLARE c_cursor FOR SELECT * FROM table".
When, after that, I issue "DECLARE c_cursor1 FOR
SELECT COUNT(*) FROM table" I get a segmentation
fault.
Is there a way to avoid this and still be able to
open 2 cursors in the same transaction?
Thanks a lot.

Marcos Castro
email: mbdecastro(at)yahoo(dot)com

__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ed Loehr 2000-06-02 14:44:46 Re: Vacuum Question
Previous Message Alfred Perlstein 2000-06-02 09:47:14 Re: query optimiser changes 6.5->7.0