pg_dump and schema namespace notes

From: Rory Campbell-Lange <rory(at)campbell-lange(dot)net>
To: Postgresql General List <pgsql-general(at)postgresql(dot)org>
Subject: pg_dump and schema namespace notes
Date: 2004-05-28 11:22:47
Message-ID: 20040528112247.GA12432@campbell-lange.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-patches

I think this is a suggestion/comment!

pg_dump man page:

--schema-only
Dump only the schema (data definitions), no data

I think this use of the word schema is confusing, meaning data
definitions, whereas elsewhere in the man page schema are used as a
namespace definition.

--schema=schema
Dump the contents of schema only. If this option is not
speci- fied, all non-system schemas in the target
database will be dumped

It would be nice if this could be a comman separated list (like set
search_path; A,info,public etc).

Rory
--
Rory Campbell-Lange
<rory(at)campbell-lange(dot)net>
<www.campbell-lange.net>

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John Ramsden 2004-05-28 11:30:16 What does error code PGSQL_TUPLES_OK (2) actually mean?
Previous Message Samuele Brignoli 2004-05-28 09:28:10 date/time field value out of range

Browse pgsql-patches by date

  From Date Subject
Next Message Andreas Pflug 2004-05-28 11:44:45 thread safety testing fix
Previous Message Andrew Dunstan 2004-05-28 11:04:05 Re: Re : Win32 binaries test / pg_dump problem