Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgHss-0004Jg-0t for pgsql-hackers@arkaria.postgresql.org; Sat, 03 Sep 2016 20:49:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bgHsq-0004DC-Nb for pgsql-hackers@arkaria.postgresql.org; Sat, 03 Sep 2016 20:49:48 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bgHrU-0002ea-9y for pgsql-hackers@postgresql.org; Sat, 03 Sep 2016 20:48:24 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bgHrR-0001i3-Gt for pgsql-hackers@postgresql.org; Sat, 03 Sep 2016 20:48:23 +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 u83Km4RZ026876; Sat, 3 Sep 2016 16:48:04 -0400 From: Tom Lane To: emre@hasegeli.com cc: =?UTF-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= , PostgreSQL Hackers , Andrew Dunstan , Matthias Kurz , Jim Nasby , "David G. Johnston" Subject: Re: [PATCH] Alter or rename enum value In-reply-to: References: <56E049CC.8010201@dunslane.net> <25605.1457539654@sss.pgh.pa.us> <56E05635.70908@dunslane.net> <28167.1457543612@sss.pgh.pa.us> Comments: In-reply-to Emre Hasegeli message dated "Wed, 24 Aug 2016 16:47:19 +0200" Date: Sat, 03 Sep 2016 16:48:04 -0400 Message-ID: <26875.1472935684@sss.pgh.pa.us> X-Pg-Spam-Score: -3.4 (---) 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 Emre Hasegeli writes: > Other than these, it looks good to me. I am marking it as Ready for Committer. I started looking at this patch. I'm kind of unhappy with having *both* IF EXISTS and IF NOT EXISTS options on the statement, especially since the locations of those phrases in the syntax seem to have been chosen with a dartboard. This feels way more confusing than it is useful. Is there really a strong use-case for either option? I note that ALTER TABLE RENAME COLUMN, which is probably used a thousand times more often than this will be, has so far not grown either kind of option, which sure makes me think that this proposal is getting ahead of itself. 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