Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-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

pgsql-patches by date

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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group