pgsql: _SPI_execute_plan failed to return result tuple table to caller

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql: _SPI_execute_plan failed to return result tuple table to caller
Дата
Msg-id 20051001184320.3C011D942C@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
_SPI_execute_plan failed to return result tuple table to caller in
the ProcessUtility case, resulting in an intratransaction memory leak
if a utility command actually did return any tuples, as reported by
Dmitry Karasik.  Fix this and also make the behavior more consistent
for cases involving nested SPI operations and multiple query trees,
by ensuring that we store the state locally until it is ready to be
returned to the caller.

Modified Files:
--------------
    pgsql/src/backend/executor:
        spi.c (r1.141 -> r1.142)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/spi.c.diff?r1=1.141&r2=1.142)
    pgsql/src/include/executor:
        spi_priv.h (r1.22 -> r1.23)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/executor/spi_priv.h.diff?r1=1.22&r2=1.23)

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

Предыдущее
От: momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Adjust wording.
Следующее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Change nextval and other sequence functions to specify their