|
3 | 3 | # pg_upgrade: update a database without needing a full dump/reload cycle.
|
4 | 4 | # CAUTION: Read the manual page before trying to use this!
|
5 | 5 |
|
6 |
| -# $Header: /cvsroot/pgsql/contrib/pg_upgrade/Attic/pg_upgrade,v 1.7 2002/01/15 05:03:53 momjian Exp $ |
| 6 | +# $Header: /cvsroot/pgsql/contrib/pg_upgrade/Attic/pg_upgrade,v 1.8 2002/01/15 05:10:57 momjian Exp $ |
7 | 7 | #
|
8 | 8 | # To migrate this to newer versions of PostgreSQL:
|
9 | 9 | #1) Update the version numbers at the top of the file
|
|
352 | 352 | if pg_ctl status| sed -n'1p'| grep"is running"> /dev/null2>&1
|
353 | 353 | thenpg_ctl -w stop
|
354 | 354 | if [$?-ne 0 ]
|
355 |
| -thenecho"Canno start server. Exiting."1>&2 |
| 355 | +thenecho"Cannot start server. Exiting."1>&2 |
356 | 356 | exit 1
|
357 | 357 | fi
|
358 | 358 | fi
|
|