Naomi Walker <nwalke(at)eldocomp(dot)com> writes:
> Christopher Browne wrote:
>>> One question , if you set access to server with password in
>>> pg_hba.conf how can you pass the apssword in the script?
>>
>> You don't have to if you put it in $HOME/.pgpass; see the
>> documentation for the format of that file...
>>
> True, but I see that as a *big* security hole.
As opposed to putting it in the script file? Surely you jest.
regards, tom lane