Somehow seems like your message started a new thread, that probably
wasn't intentional?
One more thing I noticed: selective restore across schemas now fails,
is this an oversight?
CREATE SCHEMA sp; CREATE SCHEMA sc;
CREATE TABLE sp.parent (a int);
CREATE TABLE sc.child () INHERITS (sp.parent);
ALTER TABLE sp.parent ADD CONSTRAINT nn_p NOT NULL a NOT VALID;
COMMENT ON CONSTRAINT nn_p ON sc.child IS 'comment on child in sc';
pg_dump -Fc
and then
pg_restore -n sp
into a database that has schema sp:
master: exit 0
v4: ERROR: schema "sc" does not exist
Command was: COMMENT ON CONSTRAINT nn_p ON sc.child IS
'comment on child in sc';