Re: pg_dump -t option doesn't take schema-qualified table

From: "Wehrle, Daniel" <daniel(dot)wehrle(at)realcontent(dot)de>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Curt Sampson <cjs(at)cynic(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: pg_dump -t option doesn't take schema-qualified table
Date: 2003-07-16 07:37:48
Message-ID: 062EDF01BFB4D4118A680000F6E60B0E03647068@edz-mail.edz.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Tom,

where can i find the -n option in pg_dump. Is there any special version?
I have 7.3.3.

Regards,

Daniel

-----Ursprungliche Nachricht-----
Von: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Gesendet: Dienstag, 1. Juli 2003 15:44
An: Curt Sampson
Cc: pgsql-bugs(at)postgresql(dot)org
Betreff: Re: [BUGS] pg_dump -t option doesn't take schema-qualified
table names

Curt Sampson <cjs(at)cynic(dot)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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Dmitry Tkach 2003-07-16 14:41:41 Re: [GENERAL] INSTEAD rule bug?
Previous Message Tom Lane 2003-07-16 04:04:21 Re: [GENERAL] INSTEAD rule bug?