dbTalk Databases Forums  

[BUGS] BUG #2524: Error while using pg_restore command

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2524: Error while using pg_restore command in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default [BUGS] BUG #2524: Error while using pg_restore command - 07-12-2006 , 09:54 AM







The following bug has been logged online:

Bug reference: 2524
Logged by: Sudarshan
Email address: sudharshan.prabhu (AT) valtech (DOT) co.in
PostgreSQL version: 8.0
Operating system: Windoes-XP
Description: Error while using pg_restore command
Details:

When i run the pg_restore command

"pg_restore -d db1 -v -h localhost -p 5432 -U postgres db2.backup"

I get the following error

pg_restore: [archiver (db)] connection to database "db1" failed: FATAL:
password authentication failed for user "postgres"

I checked and rechecked the password and it seems correct. I also saw so
many threads on "pg_restore" but could not find suitable answer for this.

Ealiest help greatly appreciated.

Cheers
Sudarshan

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: [BUGS] BUG #2524: Error while using pg_restore command - 07-12-2006 , 10:47 AM






Quote:
The following bug has been logged online:
=20
Bug reference: 2524
Logged by: Sudarshan
Email address: sudharshan.prabhu (AT) valtech (DOT) 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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.