summaryrefslogtreecommitdiff
path: root/src/man
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-08-30 13:14:00 +0000
committerBruce Momjian <bruce@momjian.us>1998-08-30 13:14:00 +0000
commit3b7d13a6b0e6c242ee87d43119781937b0554db5 (patch)
tree2ea52a0a1ec0b537b1269a7dfd57ecfa3f4a8038 /src/man
parent2739315a80b2f431701e3eedee03b704c756da5f (diff)
downloadpostgresql-3b7d13a6b0e6c242ee87d43119781937b0554db5.tar.gz
Make old db directory configurable.
Diffstat (limited to 'src/man')
-rw-r--r--src/man/pg_upgrade.112
1 files changed, 6 insertions, 6 deletions
diff --git a/src/man/pg_upgrade.1 b/src/man/pg_upgrade.1
index 9923108bac..e249e11747 100644
--- a/src/man/pg_upgrade.1
+++ b/src/man/pg_upgrade.1
@@ -1,12 +1,12 @@
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/pg_upgrade.1,v 1.2 1998/08/30 05:25:47 momjian Exp $
+.\" $Header: /cvsroot/pgsql/src/man/Attic/pg_upgrade.1,v 1.3 1998/08/30 13:14:00 momjian Exp $
.TH pg_upgrade UNIX 1/20/96 PostgreSQL PostgreSQL
.SH NAME
pg_upgrade - allows upgrade from a previous release without reloading data
.SH SYNOPSIS
.BR pg_upgrade
-[-f input_file] database
+[-f input_file] old_data_dir database
.SH DESCRIPTION
.IR "pg_upgrade"
is a utility for upgrading from a previous PostgreSQL release
@@ -23,7 +23,7 @@ while perserving the max system oid.
.PP
Then rename (using
.IR mv )
-your old pgsql /data directory to /data.upgrade and do a
+your old pgsql /data directory to /data.old and do a
.IR "make install"
to install the new binaries.
Then run
@@ -35,21 +35,21 @@ database containing the system tables for the new release.
to the pgsql main directory, and type:
.nf
- pg_upgrade -f db.out template1
+ pg_upgrade -f db.out data.old template1
.fi
The system will do some checking to make sure everything is properly
configured, and run your
.IR db.out
script to create all the databases and tables you had, but with no data.
-It will then move the data files from /data.upgrade into the proper
+It will then move the data files from /data.old into the proper
.IR /data
directory.
You can then start the
.IR postmaster
and check out the data.
You can delete the
-.IR /data.upgrade
+.IR /data.old
directory when you are finished.
.PP
It can also be used for individual databases.