pgsql: Remove the prohibition on executing cursor commands through

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Remove the prohibition on executing cursor commands through
Дата
Msg-id 20070325232800.22C569FB2E3@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Remove the prohibition on executing cursor commands through SPI_execute.
Vadim had included this restriction in the original design of the SPI code,
but I'm darned if I can see a reason for it.

I left the macro definition of SPI_ERROR_CURSOR in place, so as not to
needlessly break any SPI callers that are checking for it, but that code
will never actually be returned anymore.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        spi.sgml (r1.54 -> r1.55)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/spi.sgml.diff?r1=1.54&r2=1.55)
    pgsql/src/backend/executor:
        spi.c (r1.173 -> r1.174)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/spi.c.diff?r1=1.173&r2=1.174)
    pgsql/src/include/executor:
        spi.h (r1.59 -> r1.60)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/executor/spi.h.diff?r1=1.59&r2=1.60)
    pgsql/src/pl/plpgsql/src:
        pl_exec.c (r1.190 -> r1.191)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/pl_exec.c.diff?r1=1.190&r2=1.191)

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

Предыдущее
От: korryd@pgfoundry.org (User Korryd)
Дата:
Сообщение: pg-migrator - src: FB#6530 - switching to FirstNormalObjectId instead of
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Make _SPI_execute_plan pass the query source string down to