Re: Feature request (or at least discussion): enable autovaccum on temp tables

From: Ivan Voras <ivoras(at)gmail(dot)com>
To: Christopher Browne <cbbrowne(at)gmail(dot)com>
Cc: PostgreSQL Mailing Lists <pgsql-general(at)postgresql(dot)org>
Subject: Re: Feature request (or at least discussion): enable autovaccum on temp tables
Date: 2019-05-31 16:20:51
Message-ID: CAF-QHFX3eWitZM6Cn6c0RMQKf6H0TZvTWp5SC0xd+7H3iNNDzQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hi,

On Fri, 31 May 2019 at 17:54, Christopher Browne <cbbrowne(at)gmail(dot)com> wrote:

> 2. Temp tables are only associated (and visible) in the session in which
> you are doing the work. autovacuum operates inside an ordinary session
> context, and in a separate connected session, so it can't see your temp
> tables; they are not handled in shared memory that crosses contexts to the
> one in which those temp tables exist. Changing that would be way more
> difficult than meets the eye.
>

Hmm yeah, I forgot about that aspect - temp tables not going though shared
buffers.

Thanks!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ivan Voras 2019-05-31 16:25:38 Re: Feature request (or at least discussion): enable autovaccum on temp tables
Previous Message Sathish Kumar 2019-05-31 16:17:33 Inherit Database - Table Permissions