From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Revert to 9.6 treatment of ALTER TYPE enumtype ADD VALUE.
Date: Wed, 27 Sep 2017 20:14:56 +0000
Message-ID: <E1dxIjQ-0003r2-8w@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Revert to 9.6 treatment of ALTER TYPE enumtype ADD VALUE.
This reverts commit 15bc038f9, along with the followon commits 1635e80d3
and 984c92074 that tried to clean up the problems exposed by bug #14825.
The result was incomplete because it failed to address parallel-query
requirements. With 10.0 release so close upon us, now does not seem like
the time to be adding more code to fix that. I hope we can un-revert this
code and add the missing parallel query support during the v11 cycle.
Back-patch to v10.
Discussion: https://postgr.es/m/20170922185904.1448.16585@wrigleys.postgresql.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/28e07270768518524291d7d7906668eb67f6b8a5
Modified Files
--------------
doc/src/sgml/ref/alter_type.sgml | 5 +--
src/backend/access/transam/xact.c | 4 --
src/backend/catalog/pg_enum.c | 64 ---------------------------
src/backend/commands/typecmds.c | 29 ++++++++++--
src/backend/tcop/utility.c | 2 +-
src/backend/utils/adt/enum.c | 90 --------------------------------------
src/backend/utils/errcodes.txt | 1 -
src/include/catalog/pg_enum.h | 2 -
src/include/commands/typecmds.h | 2 +-
src/test/regress/expected/enum.out | 78 +++++----------------------------
src/test/regress/sql/enum.sql | 42 ++++--------------
11 files changed, 49 insertions(+), 270 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Revert to 9.6 treatment of ALTER TYPE enumtype ADD VALUE.
In-Reply-To: <E1dxIjQ-0003r2-8w@gemulon.postgresql.org>
References: <E1dxIjQ-0003r2-8w@gemulon.postgresql.org>
* 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