Re: BUG #15631: Generated as identity field in a temporary table withon commit drop corrupts system catalogs - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: BUG #15631: Generated as identity field in a temporary table withon commit drop corrupts system catalogs
Date
Msg-id 1a7ee3de-f450-606f-5c89-39e45c8052f8@2ndquadrant.com
Whole thread Raw
In response to Re: BUG #15631: Generated as identity field in a temporary tablewith on commit drop corrupts system catalogs  (Michael Paquier <michael@paquier.xyz>)
Responses Re: BUG #15631: Generated as identity field in a temporary table with on commit drop corrupts system catalogs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On 2019-04-25 02:59, Michael Paquier wrote:
> Is there something else you are considering for this patch?  This
> previous suggestion looks fine to live with, at least for me.  Tom,
> perhaps you have some extra input on the matter and would prefer a
> more restrictive location for the CCI?

I didn't find that solution very principled either.  I now think the
best fix is to have a CCI at the end of standard_ProcessUtility().  It's
very possible that other commands could also create catalog entries that
some on-commit action would like to see.  It wouldn't be sensible to
chase down each command separately.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment

pgsql-bugs by date:

Previous
From: neelaveni
Date:
Subject: Re: Reg: Postgresql8.3 Using on Ubuntu
Next
From: Flo Rance
Date:
Subject: Re: Reg: Postgresql8.3 Using on Ubuntu