Re: ON COMMIT temp table handling

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ON COMMIT temp table handling
Дата
Msg-id 1597.1037024145@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ON COMMIT temp table handling  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: ON COMMIT temp table handling  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> +     if ((iscommit && bstate != TBLOCK_END) ||
> +         (!iscommit && bstate != TBLOCK_ABORT))
> +         return;

Why is temp table handling in need of looking into xact.c's private
state?  There is no other AtEOXact routine anywhere that does this.
ISTM either the above code is wrong, or every other AtEOXact routine
is wrong.

There are some other things I don't like about the patch, but I can
fix them myself.  This one I thought I'd better ask about.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: MemSet inline for newNode
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: MemSet inline for newNode