| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера