Are check constraints always evaluated on UPDATE?

Поиск
Список
Период
Сортировка
Искать

Are check constraints always evaluated on UPDATE?

От:
bubba postgres <bubba.postgres@gmail.com>
Дата:
Are there any optimizations around check constraints such that they will not be evaluated if constituent columns are not updated?

Regards,
-JD

Re: Are check constraints always evaluated on UPDATE?

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
bubba postgres  writes:
> Are there any optimizations around check constraints such that they will not
> be evaluated if constituent columns are not updated?

Nope.

			regards, tom lane
FAQ