Re: [BUGS] Do dropdb and createdb read password from .pgpass

2005-05-12 Thread Tom Lane
"Sankaran Anupama" <[EMAIL PROTECTED]> writes: > Thanks for the response. > The following are versions I checked: > postgres, createdb, dropdb, pg_dump and pg_restore - 7.4.7 I just tried it here, and 7.4.8 createdb definitely picks up .pgpass for me. It seems like you must have some local breaka

Re: [BUGS] Do dropdb and createdb read password from .pgpass

2005-05-12 Thread Sankaran Anupama
Thanks for the response. The following are versions I checked: postgres, createdb, dropdb, pg_dump and pg_restore - 7.4.7 I did an ldd for each of createdb, dropdb, pg_dump and pg_restore. The output was - /usr/lib/libpq.so.3 for all of them. All these have been linked with the same libpq libra

Re: [BUGS] Do dropdb and createdb read password from .pgpass file?

2005-05-12 Thread Michael Fuhr
On Wed, May 11, 2005 at 11:35:16PM -0600, Sankaran Anupama wrote: > > I find that while pg_dump and pg_restore take/read the password from > the .pgpass file, dropdb and createdb do not. For these, i'm still > having to key in the password. The permissions for the .pgpass is 0600 > as expected. Us