Re: 8.2 pl/pgsql crash bug (WAS: [pgadmin-support] Error craches

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 8.2 pl/pgsql crash bug (WAS: [pgadmin-support] Error craches
Дата
Msg-id 3136.1165937681@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 8.2 pl/pgsql crash bug (WAS: [pgadmin-support] Error craches  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список pgsql-bugs
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> This bug seems to be introduced by this recent change to avoid memory
> leakage:

I see no crash in CVS tip --- I believe it's same bug fixed here:

2006-12-07 19:40  tgl

    * src/backend/executor/: spi.c (REL8_2_STABLE), spi.c: 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.

            regards, tom lane

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

Предыдущее
От: ""
Дата:
Сообщение: BUG #2824: Problem with installation by Remote Desktop
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SPI_getvalue calls output function w/o pushing existing SPI connection + 2 extra issues