Conditional constraint?

Поиск
Список
Период
Сортировка
От Nick Haw
Тема Conditional constraint?
Дата
Msg-id 71F468541618D3118DDF204C4F4F50204B1EC9@ThisAddressDoesNotExist
обсуждение исходный текст
Ответы Re: Conditional constraint?  (Joel Burton <joel@joelburton.com>)
Re: [NOVICE] Conditional constraint?  ("Josh Berkus" <josh@agliodbs.com>)
Список pgsql-general
Hi there, I have a problem that I can't fathom out.
 
What I want to do is make a field so that it requires a value after a change in another field to a particular value. Is this possible with the ADD CONSTRAINT command, or will I have to make a custom function and use a trigger.
 
Many thanks
 
Nick 
 

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

Предыдущее
От: Richard Emberson
Дата:
Сообщение: which JDBC driver
Следующее
От: Francisco Reyes
Дата:
Сообщение: Re: scaling a database