From: | "Greg Sabino Mullane" <greg(at)turnstep(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Cc: | furlongs(at)osti(dot)gov |
Subject: | Re: This utility can only upgrade to PostgreSQL version 9.4 |
Date: | 2015-07-27 13:55:49 |
Message-ID: | e08b02ba1b383bfab3644da6468d2299@biglumber.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Shane Furlong asks:
> When I attempt to execute pg_upgrade, I get the following error:
...
> This utility can only upgrade to PostgreSQL version 9.4.
...
> /app/PostgreSQL/9.4/bin/pg_upgrade -b /app/PostgreSQL/9.0/bin -B /app/PostgreSQL/9.4/bin -c -d /pgsql/stip/data9 -D /pgsql/stip/data94
> The data directory for 9.4 is a copy of the data directory for 9.0.
That is your problem. You need to create a new, empty data directory for 9.4,
by using the 9.4 version of initdb. I do agree that the error message
could be improved.
- --
Greg Sabino Mullane greg(at)turnstep(dot)com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201507270953
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----
iEYEAREDAAYFAlW2OAEACgkQvJuQZxSWSsj1CgCeKU8QO2dEHgBV6Su9D2eJmIss
MTkAoIGWD0UYPURhC+2WHU/e44Wcsm5N
=IcDc
-----END PGP SIGNATURE-----
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2015-07-27 14:01:17 | Re: This utility can only upgrade to PostgreSQL version 9.4 |
Previous Message | Melvin Davidson | 2015-07-27 13:55:00 | Re: Connections closing due to "terminating connection due to administrator command" |