diff --git a/src/man/pg_dump.1 b/src/man/pg_dump.1 index 52c2f1ded7..9cefd21ba8 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 + +To reload into a fresh installation (you can use psql options): + + psql -e template1