Re: pg_dump a specific schema

From: Neil Conway <neilc(at)samurai(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: pg_dump a specific schema
Date: 2003-01-10 21:36:24
Message-ID: 1042234584.385.1.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Fri, 2003-01-10 at 13:32, Bruce Momjian wrote:
> I can't think of any logic that would allow a table to be skipped on a
> dump, same with namespaces.

Uh, what? The issue is that:

pg_dump -t some_non_existent_table_name

produces an empty dump (well, it has a 3 lines of comments, but no SQL).
Similarly:

pg_dump -n some_non_existent_schema_name

also produces an empty dump. I'm asking if that's the correct behavior:
perhaps we should throw an error instead?

Cheers,

Neil
--
Neil Conway <neilc(at)samurai(dot)com> || PGP Key ID: DB3C29FC

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-01-10 21:45:16 Re: pg_dump a specific schema
Previous Message Ron Peterson 2003-01-10 18:46:31 Re: noupcol code cleanup