From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
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, 15 Feb 2019 23:32:04 -0500
Message-ID: <31505.1550291524@sss.pgh.pa.us> (raw)
In-Reply-To: <20190216001308.GF2240@paquier.xyz>
References: <15631-188663b383e1e697@postgresql.org>
<24188.1549917188@sss.pgh.pa.us>
<043b0c10-5a27-b9ff-7451-b8a2ca9327b1@2ndquadrant.com>
<31358.1549981670@sss.pgh.pa.us>
<20190213023817.GD5746@paquier.xyz>
<20190213044104.GE5746@paquier.xyz>
<0bc96c3e-8a3f-414f-8ba7-f7f95a787d48@2ndquadrant.com>
<32505.1550241839@sss.pgh.pa.us>
<99401209-fb88-036d-c93f-dbe5211a091a@2ndquadrant.com>
<20190216001308.GF2240@paquier.xyz>
Michael Paquier <michael@paquier.xyz> writes:
> On Fri, Feb 15, 2019 at 05:03:29PM +0100, Peter Eisentraut wrote:
>> Yeah, I'm OK on that, but that's not really the problem here. This is
>> not a case where a later step in a complex DDL command needs to see what
>> an earlier step did. This is about that something later in the
>> transaction needs to see what happened earlier in the transaction. This
>> does not seem to be the job of each individual DDL command; they don't
>> know what someone later might want to look at. Otherwise many DDL
>> command implementations are lacking this CCI. I think the CCI should be
>> more like at the end of ProcessUtility().
> Not all utility commands need a CCI, for example take VACUUM.
BEGIN and COMMIT are more convincing counterexamples ...
regards, tom lane
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, michael@paquier.xyz, peter.eisentraut@2ndquadrant.com, 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: <31505.1550291524@sss.pgh.pa.us>
References: <15631-188663b383e1e697@postgresql.org> <24188.1549917188@sss.pgh.pa.us> <043b0c10-5a27-b9ff-7451-b8a2ca9327b1@2ndquadrant.com> <31358.1549981670@sss.pgh.pa.us> <20190213023817.GD5746@paquier.xyz> <20190213044104.GE5746@paquier.xyz> <0bc96c3e-8a3f-414f-8ba7-f7f95a787d48@2ndquadrant.com> <32505.1550241839@sss.pgh.pa.us> <99401209-fb88-036d-c93f-dbe5211a091a@2ndquadrant.com> <20190216001308.GF2240@paquier.xyz> <31505.1550291524@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