Question about check constraints

Поиск
Список
Период
Сортировка
От Kashmira Patel \(kupatel\)
Тема Question about check constraints
Дата
Msg-id 18AE59788A3FC640A367E5652E664D8001730F33@xmb-sjc-237.amer.cisco.com
обсуждение исходный текст
Список pgsql-sql
Hi all,
  I have a table where two columns have two different check constraints associated with them. When I update one column, the check constraint on the other column is also executed. Is there a way to avoid this? I want to check only for the condition defined for the column being updated.
 
Thanks,
Kashmira

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

Предыдущее
От: Tino Wildenhain
Дата:
Сообщение: Re: [GENERAL] hi all......................!!
Следующее
От: Joe Abbate
Дата:
Сообщение: UPDATE with correlated aggregates