Re: WIP: extensible enums
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Dean Rasheed <dean.a.rasheed@gmail.com>, Robert Haas <robertmhaas@gmail.com>, pgsql-hackers@postgresql.org
Date: 2010-10-17T20:10:06Z
Lists: pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes: > On 10/17/2010 03:17 PM, Tom Lane wrote: >> I think what this says is that we cannot allow any manipulations that >> involve an uncommitted enum value. Probably the easiest way is to make >> the ALTER TYPE operation disallowed-inside-transaction-block. That's >> pretty ugly, but doesn't seem like a serious restriction in practice >> (though for example it'd mean we couldn't use it in pg_dump). > Even in binary upgrade mode? Binary upgrade can probably be treated as a special case. regards, tom lane