Re: psql Automatic login In Bash Script - Mailing list pgsql-admin

From Sai Hertz And Control Systems
Subject Re: psql Automatic login In Bash Script
Date
Msg-id 40044E68.9020802@sancharnet.in
Whole thread Raw
In response to psql Automatic login In Bash Script  (Sai Hertz And Control Systems <sank89@sancharnet.in>)
Responses Re: psql Automatic login In Bash Script
List pgsql-admin
Dear Peter Eisentraut

>>and my database migration would go smothly
>>
>>
>
>That would be a security hole because then other users can read the
>password using 'ps'.
>
>>Also would not like to set ~/.pgpass
>>Why not?  That's what it's for.
>>
>>
Agreed and now we decided to use it but  will ~/.pgpass work for
pg_dump
pg_restore

Regards,
Vishal Kashyap


pgsql-admin by date:

Previous
From: Sai Hertz And Control Systems
Date:
Subject: psql Automatic login In Bash Script
Next
From: Peter Eisentraut
Date:
Subject: Re: psql Automatic login In Bash Script