Re: pg_dump error - Mailing list pgsql-general

From John R Pierce
Subject Re: pg_dump error
Date
Msg-id 4EC609A1.7060905@hogranch.com
Whole thread Raw
In response to pg_dump error  (<Mamatha_Kagathi_Chan@DELL.com>)
List pgsql-general
On 11/17/11 11:01 PM, Mamatha_Kagathi_Chan@DELL.com wrote:
>
> I am using PostgreSQL 9.0. It is installed on Windows XP. I am trying
> to take a backup of the database using pg_dump. But each time I give a
> command
>
> Pg_dump pgdb > backup.sql
>
> I am prompted for a password and I provided the database password.
> After this, I got an error as follows..
>
> pg_dump: [archiver (db)] connection to database “pgdb” failed : FATAL:
> password authentication failed for user “windows user_name”.
>

add -U dbusername to the command line.



--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast



pgsql-general by date:

Previous
From:
Date:
Subject: pg_dump error
Next
From: "Albe Laurenz"
Date:
Subject: Re: convert text field to utf8 in sql_ascii database