Re: Pending trigger events on ALTER TABLE in 8.3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Pending trigger events on ALTER TABLE in 8.3
Дата
Msg-id 229.1312226756@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Pending trigger events on ALTER TABLE in 8.3  ("Reuven M. Lerner" <reuven@lerner.co.il>)
Ответы Re: Pending trigger events on ALTER TABLE in 8.3  ("Reuven M. Lerner" <reuven@lerner.co.il>)
Список pgsql-general
"Reuven M. Lerner" <reuven@lerner.co.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

В списке pgsql-general по дате отправления:

Предыдущее
От: Hannes Erven
Дата:
Сообщение: Re: Postgres 8.0 upgrade to 9.0
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Postgres 8.3 Function returning a row with different number of colums