Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 85bc361

Browse files
committed
Enable /contrib/pg_upgrade, mention little testing.
1 parent 1d174c3 commit 85bc361

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

contrib/pg_upgrade/README

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
pg_upgrade
22

3-
This is a version of pg_upgrade which will migrate a 7.1 database to 7.2,
4-
or allow a 7.2 to 7.2 migration if you need to perform an initdb.
3+
This is a version of pg_upgrade which will migrate a 7.1 database to
4+
7.2, or allow a 7.2 to 7.2 migration if you need to perform an initdb.
5+
It has been only lightly tested. Please report any problems to the
6+
PostgreSQL lists.
57

68
Read the manual page for more information. To view it:
79

contrib/pg_upgrade/pg_upgrade

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# pg_upgrade: update a database without needing a full dump/reload cycle.
44
# CAUTION: Read the manual page before trying to use this!
55

6-
# $Header: /cvsroot/pgsql/contrib/pg_upgrade/Attic/pg_upgrade,v 1.9 2002/01/15 05:41:55 momjian Exp $
6+
# $Header: /cvsroot/pgsql/contrib/pg_upgrade/Attic/pg_upgrade,v 1.10 2002/01/18 04:38:46 momjian Exp $
77
#
88
# To migrate this to newer versions of PostgreSQL:
99
# 1) Update the version numbers at the top of the file
@@ -13,8 +13,12 @@
1313

1414
#set -x
1515

16+
# UPGRADE_VERSION is the expected old database version
17+
UPGRADE_VERSION="7.1"
18+
CUR_VERSION="7.2"
19+
1620
# Set this to "Y" to enable this program
17-
ENABLE="N"
21+
ENABLE="Y"
1822

1923
if [ "$ENABLE" != "Y" ]
2024
then
@@ -25,10 +29,6 @@ then
2529
fi
2630

2731

28-
# UPGRADE_VERSION is the expected old database version
29-
UPGRADE_VERSION="7.1"
30-
CUR_VERSION="7.2"
31-
3232
trap "rm -f /tmp/$$.*" 0 1 2 3 15
3333

3434
BASENAME=`basename "$0"`

0 commit comments

Comments
 (0)