mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Revert to 9.6 treatment of ALTER TYPE enumtype ADD VALUE.
This reverts commit15bc038f9
, along with the followon commits1635e80d3
and984c92074
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
This commit is contained in:
@ -290,9 +290,8 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla
|
||||
<title>Notes</title>
|
||||
|
||||
<para>
|
||||
If <command>ALTER TYPE ... ADD VALUE</> (the form that adds a new value to
|
||||
an enum type) is executed inside a transaction block, the new value cannot
|
||||
be used until after the transaction has been committed.
|
||||
<command>ALTER TYPE ... ADD VALUE</> (the form that adds a new value to an
|
||||
enum type) cannot be executed inside a transaction block.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
Reference in New Issue
Block a user