[COMMITTERS] pgsql: Revert to 9.6 treatment of ALTER TYPE enumtype ADD VALUE. - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Revert to 9.6 treatment of ALTER TYPE enumtype ADD VALUE.
Date
Msg-id E1dxIjQ-0003r3-92@gemulon.postgresql.org
Whole thread Raw
List pgsql-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
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/93a1af0b3f63838774a9e524589344c3d44c867d

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

pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [COMMITTERS] pgsql: Improve vpath support in plperl build
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Fix behavior when converting a float infinity to numeric.