password option in pg_dumpall - Mailing list pgsql-general

From rkmr.em@gmail.com
Subject password option in pg_dumpall
Date
Msg-id e04d2e90802071700s13fce9dfs1dac8ecd21ec11d2@mail.gmail.com
Whole thread Raw
Responses Re: password option in pg_dumpall
List pgsql-general
is there anyway of specifying password in the command line interface
of pg_dumpall??

this my script, and it asks for password for every host...
thanks

'''
#!/bin/sh
for line in `cat /home/mark/work/infrastructure/farm_all`
do
pg_dumpall -h $line -U postgres | bzip2 > "$line.bz2"
done
'''

pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Test text value as interval
Next
From: Tom Lane
Date:
Subject: Re: password option in pg_dumpall