summaryrefslogtreecommitdiff
path: root/src/man/pg_dump.1
diff options
context:
space:
mode:
Diffstat (limited to 'src/man/pg_dump.1')
-rw-r--r--src/man/pg_dump.112
1 files changed, 11 insertions, 1 deletions
diff --git a/src/man/pg_dump.1 b/src/man/pg_dump.1
index 52c2f1ded7c..9cefd21ba81 100644
--- a/src/man/pg_dump.1
+++ b/src/man/pg_dump.1
@@ -1,6 +1,6 @@
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/pg_dump.1,v 1.5 1997/01/17 18:36:32 momjian Exp $
+.\" $Header: /cvsroot/pgsql/src/man/Attic/pg_dump.1,v 1.6 1997/01/23 06:01:00 momjian Exp $
.TH PG_DUMP UNIX 1/20/96 PostgreSQL PostgreSQL
.SH NAME
pg_dump \(em dumps out a Postgres database into a script file
@@ -112,5 +112,15 @@ the same as above. Partial index predicates are stored as plans)
.BR "large objects"
pg_dump does not handle large objects. Large objects are ignored and
must be dealt with manually.
+.SH EXAMPLES
+.nf
+To dump a database:
+
+ pg_dump >db.out
+
+To reload it:
+
+ psql -e database <db.out
+
.SH "SEE ALSO"
copy(l)