Re: [GENERAL] running a script from a command line

2007-07-25 Thread Pavel Stehule
Hello Is there a way to create a database and add tables to it that doesn't require the password prompt? I didn't see a command line parameter that allowed you to just enter a password in the command line. look http://www.postgresql.org/docs/8.2/interactive/libpq-pgpass.html The applicati

[GENERAL] running a script from a command line

2007-07-25 Thread Joe L
Hi, I want to use postgres as part of my application. I need to create a database and initialize it and fill it with data as part of the installation process. There is information that is expected to be there. Now when I try to use psql from a batch script it always prompts for a password.