Thread: pg_pass and pg_service

pg_pass and pg_service

From
Tim Uckun
Date:
can I refer to a pg_service entry in the pgpass file?  It seems silly to repeat all the information in the pgpass just to add the password. 

Alternatively can I put the user password in the pg_service file?

Re: pg_pass and pg_service

From
"David G. Johnston"
Date:
On Thursday, October 4, 2018, Tim Uckun <timuckun@gmail.com> wrote:
can I refer to a pg_service entry in the pgpass file?  It seems silly to repeat all the information in the pgpass just to add the password. 

No 
 
Alternatively can I put the user password in the pg_service file?
 
Yes

David J.