Re: functions allowed in CHECK constraints

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: functions allowed in CHECK constraints
Дата
Msg-id CAKFQuwZx-jXU56MoYrnZ4fKn++_-XOHYgAM4--sMHS=8gJzeEQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: functions allowed in CHECK constraints  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Список pgsql-sql
On Fri, Feb 9, 2018 at 4:23 AM, Achilleas Mantzios <achill@matrix.gatewaynet.com> wrote:
On 09/02/2018 11:04, Achilleas Mantzios wrote:
Hello,
well it seems the intuition by reading the docs was correct, although not exactly explicit. A Trigger is the way to do this.
....


​I answered this on the first email you sent.  Functions are black-boxes so its up to the author to ensure that the restrictions on check constraints remain met when using them.

David J.

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: functions allowed in CHECK constraints
Следующее
От: Tom Lane
Дата:
Сообщение: Re: functions allowed in CHECK constraints