Re: [SQL] Problem: Referential Integrity Constraints lost

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [SQL] Problem: Referential Integrity Constraints lost
Дата
Msg-id 19207.1036680929@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [SQL] Problem: Referential Integrity Constraints lost  (Achilleus Mantzios <achill@matrix.gatewaynet.com>)
Ответы Re: [SQL] Problem: Referential Integrity Constraints lost  (Achilleus Mantzios <achill@matrix.gatewaynet.com>)
Список pgsql-general
Achilleus Mantzios <achill@matrix.gatewaynet.com> writes:
> After recreating the missing triggers should i upgrade
> to 7.2.3??

Make that "before".

I frankly suspect pilot error here.  Triggers do not simply disappear.
If you did have crash-induced corruption leading to loss of some rows
in pg_trigger, it would be exceedingly obvious because *no* operations
on the affected tables would work --- relcache would complain about the
fact that pg_class.reltriggers didn't match the number of rows in
pg_trigger.  I think the missing triggers must have been removed or
disabled deliberately.  (Which is not to say that it couldn't have been
a software bug, but you're barking up the wrong tree to blame it on a
crash.)

Did all the triggers of the affected tables disappear, or only some
of them?

            regards, tom lane

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: [HACKERS] Database replication... - Mission Critica
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: parser error: 9223372036854775807