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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема [COMMITTERS] pgsql: Revert to 9.6 treatment of ALTER TYPE enumtype ADD VALUE.
Дата
Msg-id E1dxIjQ-0003r2-8w@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
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

В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Improve vpath support in plperl build
Следующее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Fix behavior when converting a float infinity to numeric.