Re: Fwd: Core dump with nested CREATE TEMP TABLE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fwd: Core dump with nested CREATE TEMP TABLE
Дата
Msg-id 29797.1441388497@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fwd: Core dump with nested CREATE TEMP TABLE  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Fwd: Core dump with nested CREATE TEMP TABLE  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список pgsql-hackers
I wrote:
>> After review of all the callers of RelationClearRelation, it seems like
>> most of them already have sufficient guards to prevent triggering of the
>> Assert.  The ones that lack such tests are AtEOXact_cleanup and
>> AtEOSubXact_cleanup.  So what I'm now thinking is that those should do
>> something along the lines of

> Specifically, this, which can be shown to mitigate the results of the
> problem cases in an otherwise-unpatched build.

And pushed.  I noticed that while the relcache.c fix mitigates the error
pretty well in 9.3 and up, in the older branches you still end up with
a PANIC due to error stack overflow.  This may indicate that there's
some patch we'd have been better off back-porting.  However, with the
Portal changes in place the test cases work in all branches, so I'm
not excited enough to pursue the point further myself.
        regards, tom lane



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: BRIN INDEX value
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: WIP: SCRAM authentication