Re: Autovaccuum vs temp tables crash - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Autovaccuum vs temp tables crash
Date
Msg-id CA+TgmoYTv39xe_KG-XzqMV5XuAyjX23ZUWWifBzkSLDDOmvYJA@mail.gmail.com
Whole thread Raw
In response to Re: Autovaccuum vs temp tables crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Autovaccuum vs temp tables crash  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Feb 22, 2019 at 12:54 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
> > On Fri, Feb 22, 2019 at 3:43 AM Magnus Hagander <magnus@hagander.net> wrote:
> >> We are certainly not supposed to go DROP SCHEMA on the temp namespaces, ...
>
> > Actually, I think that's supposed to work.
>
> If it's in active use by any session (including your own), that's not going
> to have nice consequences; the owning session will have the OID in
> static storage, and it will be unhappy when that OID becomes dangling.

Maybe that's something we should fix?

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


pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: speeding up planning with partitions
Next
From: Robert Haas
Date:
Subject: Re: Remove Deprecated Exclusive Backup Mode