Operations widh CURSORS

Поиск
Список
Период
Сортировка
От Marcos Barreto de Castro
Тема Operations widh CURSORS
Дата
Msg-id 20000602112930.27571.qmail@web6005.mail.yahoo.com
обсуждение исходный текст
Ответы recipe database
Re: Operations widh CURSORS
Список 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@yahoo.com

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

В списке pgsql-general по дате отправления:

Предыдущее
От: Alfred Perlstein
Дата:
Сообщение: Re: query optimiser changes 6.5->7.0
Следующее
От: Ed Loehr
Дата:
Сообщение: Re: Vacuum Question