Re: removal of dangling temp tables

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: removal of dangling temp tables
Дата
Msg-id CA+TgmoYuAupG1+aovKuauNZX27GGCda5BSfT=tXtFrkd+8HmaQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: removal of dangling temp tables  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: removal of dangling temp tables  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On Fri, Dec 14, 2018 at 6:35 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Hm.  It *could*, if we wanted it to run some transactions after
> finishing recovery.

It'd have to launch a separate process per database.  That would be
useful infrastructure for other things, too, like automatic catalog
upgrades in minor releases, but I'm not volunteering to write that
infrastructure right now.

> Alternatively, maybe we could have backends flag whether they've
> taken ownership of their temp schemas or not, and let autovacuum
> flush old temp tables if not?

Yes, that seems like a possibly promising approach.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: New function pg_stat_statements_reset_query() to reset statisticsof a specific query
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Computing the conflict xid for index page-level-vacuum on primary