pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Subject: Re: ALTER enums (was Re: [COMMITTERS] pgsql: doc: first draft of Postgres 10 release notes)
Date: Wed, 27 Sep 2017 08:50:28 -0400
Message-ID: <2ccce752-663b-cef0-fd5a-2f4a6429e874@2ndQuadrant.com> (raw)
In-Reply-To: <20170927100559.dmss5mnrlent4dxe@alvherre.pgsql>
References: <20170927100559.dmss5mnrlent4dxe@alvherre.pgsql>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>



On 09/27/2017 06:05 AM, Alvaro Herrera wrote:
> Bruce Momjian wrote:
>> doc:  first draft of Postgres 10 release notes
> I noticed that this item
>
> +<!--
> +Author: Tom Lane <tgl@sss.pgh.pa.us>
> +2016-09-05 [15bc038f9] Relax transactional restrictions on ALTER TYPE ... ADD V
> +-->
> +<para>
> +Reduce locking required for adding values to enum types (Andrew Dunstan,
> +Tom Lane)
> +</para>
> +
> +<para>
> +Previously it was impossible to run <command>ALTER TYPE ... ADD
> VALUE</> in a
> +transaction block unless the enum type was created in the same block. 
> +Now, only references to uncommitted enum values from other transactions
> +is prohibited.
> +</para>
>
> does not really explain this change very clearly.  (The release note item
> was slightly changed later, but not in the substance.)  It says it's
> about "locking", but it is certainly not about what we normally call
> "locking" in Postgres.
>
> So, firstly I suggest it doesn't belong in the "Locking" section, but
> rather it should be under "Utility Commands" instead.  Second, I think
> it should say "Reduce transactional requirements" rather than "reduce
> locking required".
>
> I think there are further changes needed because of commits 175774d2932d
> and 01c5de88ff2, but that's not what I'm on about here, though
> discussion on that is welcome.
>
> Contrary opinions?
>


It looks like this is moot anyway, I think the consensus is to remove
the feature and try again in release 11.

cheers

andrew

-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (3+ messages)  latest in thread

Message-ID: <2ccce752-663b-cef0-fd5a-2f4a6429e874@2ndQuadrant.com>
Permalink:  ../2ccce752-663b-cef0-fd5a-2f4a6429e874@2ndQuadrant.com/
Also on:    postgresql.org/message-id/2ccce752-663b-cef0-fd5a-2f4a6429e874@2ndQuadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andrew.dunstan@2ndquadrant.com, alvherre@alvh.no-ip.org, bruce@momjian.us, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
  Subject: Re: ALTER enums (was Re: [COMMITTERS] pgsql: doc: first draft of Postgres 10 release notes)
  In-Reply-To: <2ccce752-663b-cef0-fd5a-2f4a6429e874@2ndQuadrant.com>
  References: <20170927100559.dmss5mnrlent4dxe@alvherre.pgsql> <2ccce752-663b-cef0-fd5a-2f4a6429e874@2ndQuadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox