pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: dnsl48@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15631: Generated as identity field in a temporary table with on commit drop corrupts system catalogs
Date: Fri, 26 Apr 2019 11:09:36 -0400
Message-ID: <8521.1556291376@sss.pgh.pa.us> (raw)
In-Reply-To: <1a7ee3de-f450-606f-5c89-39e45c8052f8@2ndquadrant.com>
References: <043b0c10-5a27-b9ff-7451-b8a2ca9327b1@2ndquadrant.com>
	<31358.1549981670@sss.pgh.pa.us>
	<20190213023817.GD5746@paquier.xyz>
	<20190213044104.GE5746@paquier.xyz>
	<12a993ea-1ba5-96d7-a0b5-362579fdadc1@2ndquadrant.com>
	<20190309013557.GF9266@paquier.xyz>
	<e5017903-059f-35f1-6f8e-84401bf90f91@2ndquadrant.com>
	<20190312034630.GH13812@paquier.xyz>
	<d58c7b32-1ef5-a029-a852-4665d2897780@2ndquadrant.com>
	<20190326024527.GS2558@paquier.xyz>
	<20190425005924.GF8552@paquier.xyz>
	<1a7ee3de-f450-606f-5c89-39e45c8052f8@2ndquadrant.com>

Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> 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.

Seems reasonable to me.  Do we have a concrete patch with that?
The minor-release deadline is getting closer ...

			regards, tom lane





view thread (23+ messages)  latest in thread

Message-ID: <8521.1556291376@sss.pgh.pa.us>
Permalink:  ../8521.1556291376@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8521.1556291376@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter.eisentraut@2ndquadrant.com, michael@paquier.xyz, dnsl48@gmail.com
  Subject: Re: BUG #15631: Generated as identity field in a temporary table with on commit drop corrupts system catalogs
  In-Reply-To: <8521.1556291376@sss.pgh.pa.us>
  References: <043b0c10-5a27-b9ff-7451-b8a2ca9327b1@2ndquadrant.com> <31358.1549981670@sss.pgh.pa.us> <20190213023817.GD5746@paquier.xyz> <20190213044104.GE5746@paquier.xyz> <12a993ea-1ba5-96d7-a0b5-362579fdadc1@2ndquadrant.com> <20190309013557.GF9266@paquier.xyz> <e5017903-059f-35f1-6f8e-84401bf90f91@2ndquadrant.com> <20190312034630.GH13812@paquier.xyz> <d58c7b32-1ef5-a029-a852-4665d2897780@2ndquadrant.com> <20190326024527.GS2558@paquier.xyz> <20190425005924.GF8552@paquier.xyz> <1a7ee3de-f450-606f-5c89-39e45c8052f8@2ndquadrant.com> <8521.1556291376@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox