[PROPOSAL] Drop orphan temp tables in single-mode
Вложения
В списке pgsql-hackers по дате отправления:
| От | Arthur Zakirov |
|---|---|
| Тема | [PROPOSAL] Drop orphan temp tables in single-mode |
| Дата | |
| Msg-id | b467480e-445a-d437-9eb3-b9927498964a@postgrespro.ru обсуждение |
| Ответы |
Re: [PROPOSAL] Drop orphan temp tables in single-mode
Re: [PROPOSAL] Drop orphan temp tables in single-mode |
| Список | pgsql-hackers |
Hello hackers, In some cases if PostgreSQL encounters with wraparound PostgreSQL might leave created temporary tables even after shutdown. This orphan temporary tables prevent VACUUM to fix wraparound. It is because in single mode VACUUM considers orphan temp tables as temp tables of other backends. Grigory reported that one of our client did stuck with fixing wraparound by because he didn't know that he has orphaned temp tables left by a backend after wraparound. This patch fixes the issue. With it VACUUM deletes orphaned tables in single mode. See also thread in general (I'm not sure that orphan temp tables were cause here though): https://www.postgresql.org/message-id/CADU5SwN6u4radqQgUY2VjEyqXF0KJ6A09PYuJjT%3Do9d7vzM%3DCg%40mail.gmail.com If the patch is interesting I'll add it to the next commitfest and label it as 'v13'. -- Arthur Zakirov Postgres Professional: http://www.postgrespro.com Russian Postgres Company
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера