Re: --single-transaction hack to pg_upgrade does not work

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: --single-transaction hack to pg_upgrade does not work
Date: 2012-12-01 19:13:29
Message-ID: 4818.1354389209@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)2ndquadrant(dot)com> writes:
> On 2012-12-01 13:43:44 -0500, Bruce Momjian wrote:
>> I believe this text in alter_type.sgml need updating:
>>
>> <command>ALTER TYPE ... ADD VALUE</> (the form that adds a new value to an
>> enum type) cannot be executed inside a transaction block.

> I purposefully didn't change that because the new support is rather
> minimalistic.

Yeah, I tend to agree. There are a lot of cases that people might think
should work that won't, and anyway it's not clear what the use-case is
for this beyond pg_dump's very specific usage.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-12-01 19:31:03 Re: --single-transaction hack to pg_upgrade does not work
Previous Message Andres Freund 2012-12-01 18:51:05 Re: --single-transaction hack to pg_upgrade does not work