Pavel Veretennikov wrote:
>
> CONSTRAINT "$1" CHECK sex >= 0,
> CONSTRAINT "$2" CHECK "type" >= 0
> )
> WITH OIDS;
>
> When trying to copy-paste-run it, it complains about CHECK
> contstraints, cause they should be written like
> CONSTRAINT "$1" CHECK (sex >= 0),
> CONSTRAINT "$2" CHECK ("type" >= 0)
You're right, table reengineering misses the parentheses (the constraint
itself shows it).
Fixed in CVS, thanks for reporting.
Regards,
Andreas