Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewz1U-0008J7-9N for pgsql-docs@arkaria.postgresql.org; Fri, 16 Mar 2018 23:44:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ewz1R-000145-95 for pgsql-docs@arkaria.postgresql.org; Fri, 16 Mar 2018 23:44:29 +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.89) (envelope-from ) id 1ewz1Q-00013u-Vz for pgsql-docs@lists.postgresql.org; Fri, 16 Mar 2018 23:44:29 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewz1N-0001fJ-FF for pgsql-docs@lists.postgresql.org; Fri, 16 Mar 2018 23:44:27 +0000 Received: from pool-98-116-99-252.nycmny.fios.verizon.net ([98.116.99.252] helo=ph33r-retina.home) by meldrar.postgresql.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewz1F-000534-7s; Fri, 16 Mar 2018 23:44:20 +0000 From: "Jonathan S. Katz" Message-Id: <36847F49-06D1-4D57-9D3D-9E48B2E8EDC0@postgresql.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_B25BF495-47F5-42FF-B8C4-49FFB5DBF1D5" Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Can we only add values to enums? Date: Fri, 16 Mar 2018 19:44:11 -0400 In-Reply-To: <19255.1521211681@sss.pgh.pa.us> Cc: Euler Taveira , brian@traceme.com, pgsql-docs@lists.postgresql.org To: Tom Lane References: <152089733343.1222.6927268289645380498@wrigleys.postgresql.org> <9BE4F44F-4D9B-43C8-82D5-9B26902EC255@postgresql.org> <19255.1521211681@sss.pgh.pa.us> X-Mailer: Apple Mail (2.3273) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Apple-Mail=_B25BF495-47F5-42FF-B8C4-49FFB5DBF1D5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Mar 16, 2018, at 10:48 AM, Tom Lane wrote: >=20 > "Jonathan S. Katz" writes: >> I would say that=E2=80=99s the exact reason why it should be = documented, >> so it=E2=80=99s clear that it was by design. >=20 > Seems reasonable. Maybe something in 8.7.4 enum implementation = details? I was going to take a crack at writing it, and noticed it had already been committed: = https://git.postgresql.org/gitweb/?p=3Dpostgresql.git;a=3Dcommit;h=3D013c0= baaddd9df7e1f940184a8ab8e478214b46c = Thanks for the quick work! Jonathan --Apple-Mail=_B25BF495-47F5-42FF-B8C4-49FFB5DBF1D5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On Mar 16, 2018, at 10:48 AM, Tom Lane <tgl@sss.pgh.pa.us> = wrote:

"Jonathan S. Katz" <jkatz@postgresql.org> writes:
I would say that=E2=80=99s the exact reason why = it should be documented,
so it=E2=80=99s clear that it was = by design.

Seems reasonable. =  Maybe something in 8.7.4 enum implementation = details?

I was going = to take a crack at writing it, and noticed it had already
been = committed:


Thanks for the quick work!

Jonathan

= --Apple-Mail=_B25BF495-47F5-42FF-B8C4-49FFB5DBF1D5--