pg_dump problem - Mailing list pgsql-general

From Bob Nix
Subject pg_dump problem
Date
Msg-id BB29A9AD081CFE448883C92B463173C939FF66@mail.intranexus.com
Whole thread Raw
Responses Re: pg_dump problem  (Paul Thomas <paul@tmsl.demon.co.uk>)
List pgsql-general

I am trying to get pg_dump to work.  I suspect that I am doing something wrong - Here's my command, and the resulting message.

"postgres" owns the database and the tables; all tables were created under "postgres".
"postgres" has no password.

The database is named "demo".

=== my command ====
$ pg_dump -U postgres demo > demo.dump

=== resulting message ===
pg_dump: [archiver (db)] connection to database "demo" failed: FATAL:  IDENT authentication failed for user "postgres"

Bob Nix, Technical Analyst
IntraNexus, Inc.
bnix@intranexus.com
336-282-4415   Fax: 509-355-2669

pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: New Poll @ Codewalkers
Next
From: "ramachandranv"
Date:
Subject: Double byte