Re: pg_restore --schema always returns an empty dump - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_restore --schema always returns an empty dump
Date
Msg-id 5227.1144880385@sss.pgh.pa.us
Whole thread Raw
In response to pg_restore --schema always returns an empty dump  (Nick Johnson <arachnid@notdot.net>)
List pgsql-general
Nick Johnson <arachnid@notdot.net> writes:
> using "pg_restore db.dump", as expected, returns the entire dump.
> However, "pg_restore --schema foo db.dump", where 'foo' is the name of a
> schema present in the database dump always returns an empty dump.
> "pg_restore --schema foo --table bar" returns the table foo.bar, though.

> Does anyone know why this is?

Probably because it's broken :-(.  I've applied a patch.

            regards, tom lane

pgsql-general by date:

Previous
From: "codeWarrior"
Date:
Subject: Re: Performance UPDATE/INSERT
Next
From: Devrim GUNDUZ
Date:
Subject: IA64 RPMs for 8.1.3