Re: BUG #2524: Error while using pg_restore command - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: BUG #2524: Error while using pg_restore command
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0FAF1@algol.sollentuna.se
Whole thread Raw
In response to BUG #2524: Error while using pg_restore command  ("Sudarshan" <sudharshan.prabhu@valtech.co.in>)
List pgsql-bugs
> The following bug has been logged online:
>=20
> Bug reference:      2524
> Logged by:          Sudarshan
> Email address:      sudharshan.prabhu@valtech.co.in
> PostgreSQL version: 8.0
> Operating system:   Windoes-XP
> Description:        Error while using pg_restore command
> Details:=20
>=20
> When i run the pg_restore command
>=20
> "pg_restore -d db1 -v -h localhost -p 5432 -U postgres db2.backup"
>=20
> I get the following error
>=20
> pg_restore: [archiver (db)] connection to database "db1"=20
> failed: FATAL:=20
> password authentication failed for user "postgres"
>=20
> I checked and rechecked the password and it seems correct. I=20
> also saw so many threads on "pg_restore" but could not find=20
> suitable answer for this.
>=20
> Ealiest help greatly appreciated.

This looks like a bug that has been fixed in the latest versions in both
the 8.0 and the 8.1 series. Upgrade to 8.0.8 or 8.1.4 and see if that
fixes it.

//Magnus

pgsql-bugs by date:

Previous
From: rolf
Date:
Subject: Problems with UTF8 in PSQL
Next
From: REISS Thomas DSIC DESP
Date:
Subject: Re: Problems with UTF8 in PSQL