table constraint or trigger?

Поиск
Список
Период
Сортировка
От Andreas Fromm
Тема table constraint or trigger?
Дата
Msg-id 3F566922.2060102@physik.uni-erlangen.de
обсуждение исходный текст
Список pgsql-general
Hi,

I have a situation where I could impose a constraint by a rather
complicatet CHECK table constraint, or I could define an ON INSERT OR
UPDATE trigger that would abort the transaction if the validation
doesn't succeed. Is there any advise in favor of one of the solutions?

Regards

Andreas



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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Optimizer picks an ineffient plan
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: Query