Re: pg_dump -t option doesn't take schema-qualified table names - Mailing list pgsql-bugs

From Tom Lane
Subject Re: pg_dump -t option doesn't take schema-qualified table names
Date
Msg-id 2528.1057067057@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump -t option doesn't take schema-qualified table names  (Curt Sampson <cjs@cynic.net>)
Responses Re: pg_dump -t option doesn't take schema-qualified table  (Curt Sampson <cjs@cynic.net>)
List pgsql-bugs
Curt Sampson <cjs@cynic.net> writes:
> It appears that the command "pgsql -t foo.bar" will not dump the table
> bar in the schema foo. I saw a patch a while back to add schema support
> to pg_dump (with the --namespace option), but I did not see a fix for
> this.

IMO that's not a bug; you should spell it pg_dump -n foo -t bar.
The other way is ambiguous with a table named "foo.bar".

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Wehrle, Daniel"
Date:
Subject: Problem with "z_" in Unicode-DB
Next
From: Ian Barwick
Date:
Subject: Re: Problem with "z_" in Unicode-DB