PostgreSQL backup script - Mailing list pgsql-general

From Søren Neigaard
Subject PostgreSQL backup script
Date
Msg-id 4C358A990DA46D41A6887372872716C06B3070@mt33-imap2.mobilethink.dk
Whole thread Raw
Responses Re: PostgreSQL backup script  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I want to make a backupscript that uses pg_dump, but if do a:

pg_dump test > test.dmp

It gives me:

Connection to database 'test' failed.
fe_sendauth: no password supplied

What am I missing here, I need this to work without passwords, so it can
work automatic in my script?

Med venlig hilsen/Best regards
Søren Neigaard
System Architect
................................
Mobilethink A/S
Arosgaarden
Åboulevarden 23, 4.sal
DK - 8000 Århus C
Telefon: +45 86207800
Direct: +45 86207810
Fax: +45 86207801
Email: s.neigaard@mobilethink.dk
Web: www.mobilethink.dk
................................


pgsql-general by date:

Previous
From: Mike Mascari
Date:
Subject: Re: [HACKERS] Join Stallman and Software SMEs to refuse
Next
From: Erik Ronström
Date:
Subject: RECORD fields by name