From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Reuven M(dot) Lerner" <reuven(at)lerner(dot)co(dot)il> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Pending trigger events on ALTER TABLE in 8.3 |
Date: | 2011-08-01 19:25:56 |
Message-ID: | 229.1312226756@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Reuven M. Lerner" <reuven(at)lerner(dot)co(dot)il> writes:
> Outside of a transaction, this function works just great. But inside of
> a transaction, we get the following error message:
> Error 55006: Cannot ALTER TABLE "RecipeNumericParameterSnapshot" because
> it has pending trigger events.
> Now, I've never seen this before, but from poking around online, it
> seems that other people were bitten by it as well. My big question is:
> What's causing the error?
Exactly what it says: not-yet-processed trigger events for the table.
If you don't have any explicit triggers on the table, maybe they are
FOREIGN KEY implementation triggers. It's hard to say more than that
when you haven't shown us any of the DDL.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Merlin Moncure | 2011-08-01 19:27:00 | Re: Postgres 8.3 Function returning a row with different number of colums |
Previous Message | David Johnston | 2011-08-01 19:11:27 | Re: Postgres 8.3 Function returning a row with different number of colums |