Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qm288-005M6W-1m for pgsql-hackers@arkaria.postgresql.org; Fri, 29 Sep 2023 01:17:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qm286-000NJO-M6 for pgsql-hackers@arkaria.postgresql.org; Fri, 29 Sep 2023 01:17:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qm286-000NJA-Bl for pgsql-hackers@lists.postgresql.org; Fri, 29 Sep 2023 01:17:18 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qm283-007Cye-W8 for pgsql-hackers@postgresql.org; Fri, 29 Sep 2023 01:17:17 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 38T1H94n1128540; Thu, 28 Sep 2023 21:17:09 -0400 From: Tom Lane To: Vik Fearing cc: Andrew Dunstan , =?UTF-8?B?0JTQsNC90LjQuyDQodGC0L7Qu9C/0L7QstGB0LrQuNGF?= , pgsql-hackers@postgresql.org, o.tselebrovskiy@postgrespro.ru, d.frolov@postgrespro.ru Subject: Re: Allow deleting enumerated values from an existing enumerated data type In-reply-to: <9fffd149-da0f-0c9c-6745-731fb688642a@postgresfriends.org> References: <953107.1695911339@sss.pgh.pa.us> <4755493c-a25c-1332-d2c1-900bd02fb125@dunslane.net> <1081742.1695926782@sss.pgh.pa.us> <9fffd149-da0f-0c9c-6745-731fb688642a@postgresfriends.org> Comments: In-reply-to Vik Fearing message dated "Fri, 29 Sep 2023 02:36:53 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1128538.1695950229.1@sss.pgh.pa.us> Date: Thu, 28 Sep 2023 21:17:09 -0400 Message-ID: <1128539.1695950229@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Vik Fearing writes: > On 9/28/23 20:46, Tom Lane wrote: >> We went through all these points years ago when the enum feature >> was first developed, as I recall. Nobody thought that the ability >> to remove an enum value was worth the amount of complexity it'd >> entail. > This issue comes up regularly (although far from often). Do we want to > put some comments right where would-be implementors would be sure to see it? Perhaps. I'd be kind of inclined to leave the "yet" out of "not yet implemented" in the error message, as that wording sounds like we just haven't got round to it. regards, tom lane