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


---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to