summaryrefslogtreecommitdiff
path: root/contrib/pg_upgrade
diff options
context:
space:
mode:
authorPeter Eisentraut2002-08-29 22:19:03 +0000
committerPeter Eisentraut2002-08-29 22:19:03 +0000
commit6d27cfdd894af3a428fd9a540dbac576978319f5 (patch)
tree493245d5feb57ed90032b19acbb82954d8741af6 /contrib/pg_upgrade
parent41a8562739879c7c385934e5c1bfef86cef9212c (diff)
Make pg_resetxlog options parsing more standard and prepare messages for
translation.
Diffstat (limited to 'contrib/pg_upgrade')
-rwxr-xr-xcontrib/pg_upgrade/pg_upgrade4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pg_upgrade/pg_upgrade b/contrib/pg_upgrade/pg_upgrade
index 3fe42f52ae..65dbddbbd7 100755
--- a/contrib/pg_upgrade/pg_upgrade
+++ b/contrib/pg_upgrade/pg_upgrade
@@ -3,7 +3,7 @@
# pg_upgrade: update a database without needing a full dump/reload cycle.
# CAUTION: Read the manual page before trying to use this!
-# $Header: /cvsroot/pgsql/contrib/pg_upgrade/Attic/pg_upgrade,v 1.14 2002/07/03 14:38:19 momjian Exp $
+# $Header: /cvsroot/pgsql/contrib/pg_upgrade/Attic/pg_upgrade,v 1.15 2002/08/29 22:19:03 petere Exp $
#
# To migrate this to newer versions of PostgreSQL:
# 1) Update the version numbers at the top of the file
@@ -461,7 +461,7 @@ fi
# Set checkpoint location of new database
-pg_resetxlog -l "$LOG_ID" "$SEG_ID" "$PGDATA"
+pg_resetxlog -l "$LOG_ID","$SEG_ID" "$PGDATA"
if [ "$?" -ne 0 ]
then echo "Unable to set new log file/segment id. Exiting." 1>&2
exit 1