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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Wehrle, Daniel" <daniel(dot)wehrle(at)realcontent(dot)de>
Cc: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Curt Sampson <cjs(at)cynic(dot)net>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: pg_dump -t option doesn't take schema-qualified table
Date: 2003-07-17 13:25:33
Message-ID: 200307171325.h6HDPXc23583@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


Sorry, the -n option will only be available in PostgreSQL 7.4.

---------------------------------------------------------------------------

Wehrle, Daniel wrote:
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Thomas Behr 2003-07-17 15:06:08 Small problem in contrib/dbase/dbf2pg.c
Previous Message Troels Arvin 2003-07-16 21:36:20 pg_dump handling of trim()