assertions and constraint triggers

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема assertions and constraint triggers
Дата
Msg-id 1281504702.9631.2.camel@vanquo.pezone.net
обсуждение исходный текст
Ответы Re: assertions and constraint triggers  (Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>)
Re: assertions and constraint triggers  (Simon Riggs <simon@2ndQuadrant.com>)
Re: assertions and constraint triggers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Thinking about SQL assertions (check constraints that are independent of
one particular table), do you think it would be reasonable to implement
those on top of constraint triggers?  On creation you'd hook up a
trigger to each of the affected tables.  And the trigger function runs
the respective check expression.  Conceptually, this doesn't seem to be
very far away from foreign key constraints after all.



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: RecordTransactionCommit() and SharedInvalidationMessages
Следующее
От: Greg Stark
Дата:
Сообщение: Re: string_to_array with an empty input string