Re: functions allowed in CHECK constraints

"David G. Johnston" <[email protected]>
Newsgroups gmane.comp.db.postgresql.sql
Message-ID <CAKFQuwZx-jXU56MoYrnZ4fKn++_-XOHYgAM4--sMHS=8gJzeEQ@mail.gmail.com>
On Fri, Feb 9, 2018 at 4:23 AM, Achilleas Mantzios <
[email protected]> 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.
​
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.