From 5461983d08b26a3899dc249d5b77094779089031 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 9 Jan 2002 21:50:52 +0000 Subject: Update with new features. Still disabled. --- doc/src/sgml/ref/pg_upgrade.sgml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_upgrade.sgml b/doc/src/sgml/ref/pg_upgrade.sgml index 2b9406958c9..6d83e888ee1 100644 --- a/doc/src/sgml/ref/pg_upgrade.sgml +++ b/doc/src/sgml/ref/pg_upgrade.sgml @@ -1,5 +1,5 @@ @@ -24,7 +24,7 @@ PostgreSQL documentation 1999-07-31 -pg_upgrade [ -f filename ] old_data_dir +pg_upgrade -s filename [ -d filename ] old_data_dir @@ -58,7 +58,7 @@ pg_upgrade [ -f filename ] Then do: -$ pg_dumpall -s >db.out +$ pg_dumpall -s > schema.out to dump out your old database's table definitions without any data. @@ -108,7 +108,7 @@ $ make install Change your working directory to the pgsql main directory, and type: -$ pg_upgrade -f db.out data.old +$ pg_upgrade -s schema.out -d data.out data.old The program will do some checking to make sure everything is properly configured, and will run your db.out script to recreate all the databases -- cgit v1.2.3