[GENERAL] The .pgpass file

2007-11-07 Thread Tommy Flewwelling
Hello, How do I specify in the command-line to access the .pgpass file when creating a database? I would like to use ~/.pgpass instead of –W on the command line when creating a database (createdb) and was wondering the correct syntax. For example, I don’t want to have to include (-W):

[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. th