Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

pgsql: Avoid double free of _SPI_current->tuptable.

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Avoid double free of _SPI_current->tuptable.
Дата
Msg-id 20061208004027.C37F99F9C9E@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Avoid double free of _SPI_current->tuptable.  AtEOSubXact_SPI() now tries to
release it in a subtransaction abort, but this neglects possibility that
someone outside SPI already did.  Fix is for spi.c to forget about a tuptable
as soon as it's handed it back to the caller.
Per bug #2817 from Michael Andreen.

Modified Files:
--------------
    pgsql/src/backend/executor:
        spi.c (r1.165 -> r1.166)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/spi.c.diff?r1=1.165&r2=1.166)

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