Silvio Macedo wrote:

> I've been using stdin/stdout of psql on Windows to run a script, without
> messing with "expect".
> 
> Before v8.1.4, one could include the password in the string fed to psql via
> stdin to authenticate the connection.
> 
> With 8.1.4, it doesn't work.

You can use PGPASSWORD or a pgpass.conf file instead.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to