Cursors in PL/pgSQL

Поиск
Список
Период
Сортировка
От Ian Lance Taylor
Тема Cursors in PL/pgSQL
Дата
Msg-id siae8pc3b7.fsf@daffy.airs.com
обсуждение исходный текст
Список pgsql-hackers
Cursors are not supported in PL/pgSQL.  I don't see a TODO item to fix
this.

Fixing the syntax to support cursors is easy.  The problem then is
that PL/pgSQL uses SPI, and SPI does not support cursors.  In spi.c
there is a bit of code for cursor support, with the comment/* Don't work currently */

Is adding cursor support to SPI a bad idea?  Is adding cursor support
to PL/pgSQL undesirable?

Can anybody sketch the problems which would arise when adding cursor
support to SPI?

Thanks.

Ian


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Re: Performance degradation in PostgreSQL 7.1beta3 vs
Следующее
От: "Robert B. Easter"
Дата:
Сообщение: Re: [GENERAL] Slashdot and PostgreSQL