From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Revert to 9.6 treatment of ALTER TYPE enumtype ADD VALUE. |
Date: | 2017-09-27 20:14:56 |
Message-ID: | E1dxIjQ-0003r3-92@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2017-09-27 21:06:14 | pgsql: Fix behavior when converting a float infinity to numeric. |
Previous Message | Peter Eisentraut | 2017-09-27 19:54:50 | Re: pgsql: Improve vpath support in plperl build |