Re: ERROR: deferredTriggerGetPreviousEvent: event for tuple (0,9) not found

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERROR: deferredTriggerGetPreviousEvent: event for tuple (0,9) not found
Дата
Msg-id 18395.994864895@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ERROR: deferredTriggerGetPreviousEvent: event for tuple (0,9) not found  (pgsql-bugs@postgresql.org)
Ответы Re: ERROR: deferredTriggerGetPreviousEvent: event for tuple (0,9) not found  (Kristis Makris <kristis.makris@datasoft.com>)
Список pgsql-bugs
pgsql-bugs@postgresql.org writes:
> ERROR:  deferredTriggerGetPreviousEvent: event for tuple (0,9) not found

Hmm, are you trying to create triggers on pg_shadow?  It's hard to see
how that message could come from an "UPDATE pg_shadow" otherwise.

Triggers on system catalogs don't work very well, because they won't
be invoked as a side effect of system-initiated operations.  In this
situation, it appears that the trigger code sees that the pg_shadow row
was inserted in the current transaction, so it tries to look up the row
in the list of pending trigger events --- and doesn't find an entry,
because CREATE USER didn't invoke the trigger code.

In a perfect world we'd support user-defined triggers on the system
catalogs, but given the potential circularity problems, I doubt it's
going to happen real soon.  I'd suggest finding another approach.

            regards, tom lane

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: shared library compile error
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: ecpg: INITALLY DEFERRED translated into intially deferrable