Re: Bug in pg_get_constraintdef (for deferrable constraints)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug in pg_get_constraintdef (for deferrable constraints)
Дата
Msg-id 8141.1041453980@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bug in pg_get_constraintdef (for deferrable constraints)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Bug in pg_get_constraintdef (for deferrable constraints)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I see the values being stored on constriant creation, but not being used
> anywhere:

I believe the values that actually get inspected at runtime are the
tgdeferrable and tginitdeferred fields in pg_trigger.  The columns in
pg_constraint are just copies of these.

It is not real clear to me whether it should be allowed to alter the
deferrability status of a foreign-key constraint --- is that in the spec?
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Bug in pg_get_constraintdef (for deferrable constraints)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Bug in pg_get_constraintdef (for deferrable constraints)