public inbox for [email protected]
help / color / mirror / Atom feedFrom: Peter Eisentraut <[email protected]>
To: Joshua D. Drake <[email protected]>
To: pgsql-docs <[email protected]>
Subject: Re: per feedback I received directly, pg_dump manpage patch
Date: Thu, 28 May 2015 14:16:33 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>
On 5/27/15 7:17 PM, Joshua D. Drake wrote:
> The man page does not clearly state that pg_dump will not dump things
> like users or roles. It does mention briefly in the notes section that
> pg_dumpall is needed for items that are set via SET but that isn't very
> clear on the other items.
How about this patch?
--
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
Attachments:
[text/x-diff] pg_dump-note.patch (666B, 2-pg_dump-note.patch)
download | inline diff:
diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml
index a6e7b08..33a1902 100644
--- a/doc/src/sgml/ref/pg_dump.sgml
+++ b/doc/src/sgml/ref/pg_dump.sgml
@@ -46,6 +46,12 @@
</para>
<para>
+ <application>pg_dump</application> only dumps a single database. To save
+ global objects that are common to all databases in a cluster, such as roles
+ and tablespaces, use <xref linkend="app-pg-dumpall">.
+ </para>
+
+ <para>
Dumps can be output in script or archive file formats. Script
dumps are plain-text files containing the SQL commands required
to reconstruct the database to the state it was in at the time it was
view thread (9+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: per feedback I received directly, pg_dump manpage patch
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox