Relax transactional restrictions on ALTER ENUM ... ADD TYPE (redux)

From: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Relax transactional restrictions on ALTER ENUM ... ADD TYPE (redux)
Date: 2018-10-03 01:24:17
Message-ID: CAEepm=0Ei7g6PaNTbcmAh9tCRahQrk=r5ZWLD-jr7hXweYX3yg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers

Hi Andrew, Tom, all,

Over the thread for bug #14825 I posted some draft code to show one
way to save/restore the enum blacklist for parallel workers. Here's a
better version, and a new thread. 0001 is the code by Andrew Dustan
and Tom Lane that was reverted in 93a1af0b, unchanged by me except for
resolving trivial conflicts on current master. 0002 fixes the failure
seen with make installcheck when postgresql.conf says
force_parallel_mode = regress.

--
Thomas Munro
http://www.enterprisedb.com

Attachment Content-Type Size
0001-Relax-transactional-restrictions-on-ALTER-TYPE-.-ADD.patch application/octet-stream 20.6 KB
0002-fixup-Relax-transactional-restrictions-on-ALTER-TYPE.patch application/octet-stream 5.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2018-10-03 01:35:02 Re: file cloning in pg_upgrade and CREATE DATABASE
Previous Message Amit Langote 2018-10-03 00:47:27 Re: speeding up planning with partitions