Re: how do you get there from here?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Michael P(dot) Soulier" <michael_soulier(at)mitel(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how do you get there from here?
Date: 2009-04-27 16:23:44
Message-ID: 5771.1240849424@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Michael P. Soulier" <michael_soulier(at)mitel(dot)com> writes:
> But I don't understand why this was required. What's wrong with adding a
> column and copying data into it in a transaction?

Nothing. The problem apparently is that you've got deferred AFTER
triggers on that table, so the UPDATE commands have left unprocessed
trigger events behind, and the system can't be sure that those events
would still be sensible to fire after doing further ALTERs on the table.

*Why* you've got such triggers is not apparent from what you've told us.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kynn Jones 2009-04-27 16:27:37 Re: Which header and lib files to use when compiling libpq-code?
Previous Message Whit Armstrong 2009-04-27 16:22:27 Re: find column OID types with information schema?