]> granicus.if.org Git - postgresql/commit
Revert to 9.6 treatment of ALTER TYPE enumtype ADD VALUE.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 27 Sep 2017 20:14:37 +0000 (16:14 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 27 Sep 2017 20:14:43 +0000 (16:14 -0400)
commit28e07270768518524291d7d7906668eb67f6b8a5
tree702ecbab07ba0ed2f80c0ee295383ac29058d15b
parent65c865620237bf1964757436a36c40af591d30fb
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
doc/src/sgml/ref/alter_type.sgml
src/backend/access/transam/xact.c
src/backend/catalog/pg_enum.c
src/backend/commands/typecmds.c
src/backend/tcop/utility.c
src/backend/utils/adt/enum.c
src/backend/utils/errcodes.txt
src/include/catalog/pg_enum.h
src/include/commands/typecmds.h
src/test/regress/expected/enum.out
src/test/regress/sql/enum.sql