Re: [BUGS] General Bug Report: TEMP TABLES becomes permanent CATALOG TABLES
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [BUGS] General Bug Report: TEMP TABLES becomes permanent CATALOG TABLES |
| Дата | |
| Msg-id | 15927.931015732@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: [BUGS] General Bug Report: TEMP TABLES becomes permanent CATALOG TABLES (Bruce Momjian <maillist@candle.pha.pa.us>) |
| Ответы |
Re: [BUGS] General Bug Report: TEMP TABLES becomes permanent CATALOG
TABLES
|
| Список | pgsql-bugs |
Bruce Momjian <maillist@candle.pha.pa.us> writes:
> I think I may know the cause. The at_exit removal of the temp tables is
> taking place in a failed transaction. Let me test that idea tomorrow.
Take a look at the code for cleaning up the listen/notify table
(Async_UnlistenOnExit() in backend/commands/async.c). It used to
have problems with cleaning up when the last transaction executed
by the backend had failed. I fixed that by aborting any old transaction
and starting/committing a new one. I believe that any at_exit,
on_shmem_exit, etc routine that tries to perform database changes will
need to be coded similarly.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера