Forum OpenACS Q&A: Response to alter table add constraint

Collapse
Posted by Daryl Biberdorf on

According to the PostgreSQL docs:

Currently, CHECK expressions cannot contain sub-selects nor refer to variables other than fields of the current row.

Looks like this will probably need a trigger.