From: | Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Bruce Momjian <bruce(at)momjian(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: ALTER enums (was Re: [COMMITTERS] pgsql: doc: first draft of Postgres 10 release notes) |
Date: | 2017-09-27 12:50:28 |
Message-ID: | 2ccce752-663b-cef0-fd5a-2f4a6429e874@2ndQuadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-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(at)sss(dot)pgh(dot)pa(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2017-09-27 13:04:12 | pgsql: pg_basebackup: Add option to create replication slot |
Previous Message | Alvaro Herrera | 2017-09-27 10:05:59 | ALTER enums (was Re: [COMMITTERS] pgsql: doc: first draft of Postgres 10 release notes) |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2017-09-27 13:11:10 | Re: ALTER enums (was Re: [COMMITTERS] pgsql: doc: first draft of Postgres 10 release notes) |
Previous Message | Peter Eisentraut | 2017-09-27 12:41:49 | Re: md5 still listed as an option in pg_hba.conf.sample |