jmafc/Pyrseas — Issue #12: Wrong comment on constraints in schema:
Author: dvarrazzo
Created: 2011-12-08 23:33:42+00:00
State: open

pg_dump generates:

COMMENT ON CONSTRAINT schema.constraint_name ON schema.table IS 'blah blah...';

this is wrong: the schema must not be specified in the constraint name: this works:

COMMENT ON CONSTRAINT constraint_name ON schema.table IS 'blah blah...';