Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gunbf-000400-Ms for pgsql-bugs@arkaria.postgresql.org; Sat, 16 Feb 2019 00:13:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gunbd-0004CU-90 for pgsql-bugs@arkaria.postgresql.org; Sat, 16 Feb 2019 00:13:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gunbc-0004BL-C0 for pgsql-bugs@lists.postgresql.org; Sat, 16 Feb 2019 00:13:21 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gunbZ-0001z6-BN for pgsql-bugs@lists.postgresql.org; Sat, 16 Feb 2019 00:13:19 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E891620D84; Fri, 15 Feb 2019 19:13:15 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 15 Feb 2019 19:13:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=2pin10MLmrYV5nG8DXv9hpY+T+s s0ra9GEm1djD05hs=; b=WTB5ZCazjJFW1+pZSgQkGmZvNbEXymZvD3LJDeO1vgN lPmsRWjR49WVXC2zMWh9KW1cg57clNJEw1p7kuxsknsVvAkyz4vGHM9uaVNvee/B V5s4NaF6q26DS4d8z70OBk5cucLNo8pBSIys/RdPqM+Qouz/2aS22hLsl1m6C5iH P3edzltxdw5Ps2Kdhz095MNAmuhIveCa53DBMHvOQIhWK95u20cwRrTyRldwIEW1 VKE1VPK3sCpYGd9GbnqC7EIExRn5FYfha7h1aO4L820zZQtETe9pMIvUho0djSNZ z/J7lP+XYj0ZDN/FlXSQTyfu/rxYijO43P8wvRlyqTw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=2pin10 MLmrYV5nG8DXv9hpY+T+ss0ra9GEm1djD05hs=; b=FURjNBS7WLJu8Icg3jN0Cw /Te8z8NFJIk/uKvz1WWNlM/r3+pI6nNRzEzab1wUgOQBPZiOFgYaItLX8vo0mUdd TMmwmh1O2lQdMOtmRUMGOq9kI+X2sgQDhGSBR1hYUI4kXOUUcGTF8nyR3qTrTodT ljL1rsDAkgiUc6R6NKz54HDU08OPpar3yiabDF3iok/vbGasJldpUCsFPV97W0TJ d5NbkduBOwoOrprIRYcfVWDvVd3BR1103TE6ct7remaS0OYz2DH04km9eX1PR5se YWXHTfc85mRC8Pjflzp9UoT3NRFhV/Xb2uPnDFcEMSAQDRYrjzv4ht8xom1ol/sw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledruddtkedgudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdejtd dmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgt hhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqne cukfhppeeiuddrvdduhedrudefjedrudeivdenucfrrghrrghmpehmrghilhhfrhhomhep mhhitghhrggvlhesphgrqhhuihgvrhdrgiihiienucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 22CA5E4680; Fri, 15 Feb 2019 19:13:12 -0500 (EST) Date: Sat, 16 Feb 2019 09:13:08 +0900 From: Michael Paquier To: Peter Eisentraut Cc: Tom Lane , dnsl48@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15631: Generated as identity field in a temporary table with on commit drop corrupts system catalogs Message-ID: <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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/QKKmeG/X/bPShih" Content-Disposition: inline In-Reply-To: <99401209-fb88-036d-c93f-dbe5211a091a@2ndquadrant.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --/QKKmeG/X/bPShih Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. -- Michael --/QKKmeG/X/bPShih Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlxnVZQACgkQnvQgOdby QH1zGg//alt+EACBD1ko/B1W47oWBC+JKWYn+IyexAggMOh7N8aqIIHRAirJplSq bZ0uglJh5GGCMNMYZENGnKunQ07YIr9cVWe9fhqotJtrT7JecpKl0fH82Zj6IuTa rXRKM5YLe2E7kcZ+T85nVCT/YP0WZkW/S4xpSf206xG1AePXXx+jpTl+EQ8yzvNx HDe3whblzDdvA1KZXlMdtp1HTHY4cqCx5rjh8XwFOBGqzyFCrgVcdDpxSqkKywb9 G2Vc7svkxzdJ09zry3C9iw4eC9Sr3rpYGaZN3O0nXJbHKyg1TfHZO/qzOyKLx72h sy0LAyEuYji70BuorTZQAQnGhULiIRsT9404LUs/DrwaGIgFXarBN8mX2SnbHEJh iLu9N9PIi5U3Io5Yvb3ylsCGGD7GOiPZyKt1Rt6OPPCC/5e+zNZgQYYUMncBKeSd GYJrWZiUzzkVFZM/JGILNJpjOQCDyc5PhnbGuYRgROh2w29NEb08CGuUZl5zPWtw zksMZ5PmvihbIOpC5N8JSsLWRuViSNyTNbJmoqrKxk/O+DB6domWLajhKNh9ROYs uoAj0LM7CwaKVbJoHYsafCRNz9bgH0UJMcQbNUpuzLa3gM/sEUB4G8T8NQYCsTxV XMzwgTl50gHJ7J+Bgldw/HdGHjPp1rN4YuUJaynrMVc6v7+eYgg= =gh2F -----END PGP SIGNATURE----- --/QKKmeG/X/bPShih--