| От | Tom Lane |
|---|---|
| Тема | Re: [GENERAL] AutoVacuum Behaviour Question |
| Дата | |
| Msg-id | 3526.1183086447@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [GENERAL] AutoVacuum Behaviour Question (Alvaro Herrera <alvherre@commandprompt.com>) |
| Ответы |
Re: [GENERAL] AutoVacuum Behaviour Question
|
| Список | pgsql-hackers |
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane wrote:
>> Yeah, we had better investigate some way to clean them up. It was never
>> obvious before that it mattered to get rid of orphan temp tables, but I
>> guess it does.
> Would it be enough to delete the tuple from pg_class?
No, you need a full DROP. I don't see that that's harder than removing
only the pg_class tuple --- the problem in either case is to be sure
it's OK. In particular, how to avoid a race condition against an
incoming backend that adopts that BackendId? Worst-case, you could be
deleting a temp table he just made.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера