Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4b20cc1

Browse files
committed
Now works for 7.1 databases.
1 parent11b3e56 commit4b20cc1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎src/bin/pg_dump/pg_upgrade

Lines changed: 5 additions & 3 deletions
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/src/bin/pg_dump/Attic/pg_upgrade,v 1.32 2002/01/1304:55:44 momjian Exp $
6+
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Attic/pg_upgrade,v 1.33 2002/01/1305:36:42 momjian Exp $
77
#
88
# NOTE: we must be sure to update the version-checking code a few dozen lines
99
# below for each new PostgreSQL release.
@@ -191,14 +191,14 @@ $0 aborted." 1>&2
191191
$9 >= 2147483646 &&
192192
$9 <= 2147483648)
193193
{
194-
for(i=1; i < NF; i++)
194+
for(i=1; i <= NF; i++)
195195
{
196196
if (i != 9)
197197
printf "%s ", $i;
198198
else
199199
printf "%s ", "9223372036854775807";
200200
}
201-
print;
201+
print "";
202202
}
203203
else print $0;
204204
}'>"$INFODIR"/schema
@@ -261,6 +261,8 @@ $0 aborted." 1>&2
261261
$0 aborted."1>&2
262262
exit 1
263263
fi
264+
echo
265+
echo
264266
echo"Plase 1 completed.
265267
Continue with the steps outlined in the$0 manual page."
266268
exit 0

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp