[GENERAL] RE: [GENERAL] ‘--pwfile’ command

2007-11-07 Thread Albe Laurenz
Tommy Flewwelling wrote:
 Could someone tell me if the ‘--pwfile’ command can be 
 applied to createdb.exe and psql.exe?

No, but you can use the libpq password file. See
http://www.postgresql.org/docs/current/static/libpq-pgpass.html

Yours,
Laurenz Albe

---(end of broadcast)---
TIP 2: Don't 'kill -9' the postmaster


[GENERAL] ‘--pwfile’ command

2007-11-06 Thread Tommy Flewwelling

Hello, 
Could someone tell me if the ‘--pwfile’ command can be applied to createdb.exe 
and psql.exe?
I found a description of ‘--pwfile’ at 
http://www.it-manuals.info/postgressql/app-initdb.html, which states:
--pwfile=filename 
makes initdb read the database superuser's password from a file. the first line 
of the file is taken as the password. 
I would like to disable password prompt (-W) and have the password read from a 
file.
Any pointers would surely be appreciated.
Thanks, 
Tommy_
_
Are you ready for Windows Live Messenger Beta 8.5 ? Get the latest for free 
today!
http://entertainment.sympatico.msn.ca/WindowsLiveMessenger