Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhMrw-00089C-Pc for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Sep 2016 20:21:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bhMrw-0007S0-7h for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Sep 2016 20:21:20 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bhMqX-0004KV-7F for pgsql-hackers@postgresql.org; Tue, 06 Sep 2016 20:19:53 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bhMqO-0007C0-UJ for pgsql-hackers@postgresql.org; Tue, 06 Sep 2016 20:19:52 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u86KJU0U017894; Tue, 6 Sep 2016 16:19:30 -0400 From: Tom Lane To: Andrew Dunstan cc: Robert Haas , Emre Hasegeli , =?UTF-8?Q?Dagfinn_Ilmari_Manns=c3=a5ker?= , PostgreSQL Hackers , Matthias Kurz , Jim Nasby , "David G. Johnston" Subject: Re: [PATCH] Alter or rename enum value In-reply-to: <9dd58b5f-0447-54fe-02f4-afb62fd7c3c8@dunslane.net> References: <56E049CC.8010201@dunslane.net> <25605.1457539654@sss.pgh.pa.us> <56E05635.70908@dunslane.net> <28167.1457543612@sss.pgh.pa.us> <26875.1472935684@sss.pgh.pa.us> <32710.1473099022@sss.pgh.pa.us> <8384.1473186627@sss.pgh.pa.us> <9dd58b5f-0447-54fe-02f4-afb62fd7c3c8@dunslane.net> Comments: In-reply-to Andrew Dunstan message dated "Tue, 06 Sep 2016 16:08:27 -0400" Date: Tue, 06 Sep 2016 16:19:30 -0400 Message-ID: <17893.1473193170@sss.pgh.pa.us> X-Pg-Spam-Score: -3.0 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Andrew Dunstan writes: > Are we also going to have an exists test for the original thing being > renamed? Exists tests on renames do strike me as somewhat cumbersome, to > say the least. I'm less opposed to that part, because it's at least got *some* precedent in existing RENAME features. But the fact that RENAME COLUMN hasn't got it still makes me wonder why this is the first place that's getting it ("it" being an EXISTS test that applies to a sub-object rather than the whole object being ALTER'd). Bottom line here is that I'd rather commit ALTER TYPE RENAME VALUE with no EXISTS features and then see it accrete those features together with other types of RENAME, when and if there's a will to make that happen. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers