Re: Upgrading PostgreSQL under Windows
От | Thomas Kellerer |
---|---|
Тема | Re: Upgrading PostgreSQL under Windows |
Дата | |
Msg-id | ce518e4f-3afd-68de-a301-de9007e11861@gmx.net обсуждение исходный текст |
Ответ на | Re: Upgrading PostgreSQL under Windows ("Arnaud L." <arnaud.listes@codata.eu>) |
Список | pgsql-general |
Arnaud L. schrieb am 27.03.2019 um 14:00: > Le 27/03/2019 à 07:02, Kumar Prince NCS a écrit : >> We are Upgrading PostgreSQL under Windows from v9.3 to 9.5. Following steps from https://www.postgresql.org/docs/10/pgupgrade.html >> >> We are using PostgreSQL database for confluence application. >> >> While running Step 9 , there is command to set path with postgres user. As per installation of postgres database , wehaven’t created “postgres” user on windows. >> >> When we ran pg_upgrade.exe we are getting below error > > You need to specify the user used for migration with the appropriate command line option, for instance "-U postgres". > Othewise pg_upgrade will try to connect with your OS username, which obviously won't work. > > Since you can't specify a password in pg_upgrade's command, you will also need to provide authentication informations ina pgpass.conf file as per https://www.postgresql.org/docs/9.5/libpq-pgpass.html I typically set the connection method to "trust" in both pg_hba.conf files before starting pg_upgrade.
В списке pgsql-general по дате отправления: