Re: [GENERAL] pg_dump and schema namespace notes

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Rory Campbell-Lange <rory(at)campbell-lange(dot)net>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [GENERAL] pg_dump and schema namespace notes
Date: 2004-07-10 15:53:48
Message-ID: 200407101553.i6AFrnl02137@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-patches

Rory Campbell-Lange wrote:
> 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).

I have updated the pg_dump manual page to more clearly distinguish the
two meanings of "schema". I referred to "object definitions" more
frequently.

Applied patch attached.

--
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

Attachment Content-Type Size
unknown_filename text/plain 3.5 KB

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Paul Thomas 2004-07-10 17:16:33 Re: Characters which requires escaping
Previous Message Peter Eisentraut 2004-07-10 15:13:10 Re: Characters which requires escaping

Browse pgsql-patches by date

  From Date Subject
Next Message Jan Wieck 2004-07-10 19:17:27 Re: contrib/dbmirror
Previous Message Tom Lane 2004-07-10 05:37:02 Re: Digital Mars C++ - Clients