Re: This utility can only upgrade to PostgreSQL version 9.4
От | Greg Sabino Mullane |
---|---|
Тема | Re: This utility can only upgrade to PostgreSQL version 9.4 |
Дата | |
Msg-id | e08b02ba1b383bfab3644da6468d2299@biglumber.com обсуждение исходный текст |
Ответ на | This utility can only upgrade to PostgreSQL version 9.4 ("Furlong, Shane" <furlongs@osti.gov>) |
Список | 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@turnstep.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-----
В списке pgsql-general по дате отправления: