Re: BUG #2459: psql 8.1.4 vs 8.0.x behaves differently with tty / con / stdin recent fixes - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #2459: psql 8.1.4 vs 8.0.x behaves differently with tty / con / stdin recent fixes
Date
Msg-id 20060529165659.GC24193@surnet.cl
Whole thread Raw
In response to BUG #2459: psql 8.1.4 vs 8.0.x behaves differently with tty / con / stdin recent fixes  ("Silvio Macedo" <smacedo@calmetric.pt>)
List pgsql-bugs
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.

pgsql-bugs by date:

Previous
From: "Silvio Macedo"
Date:
Subject: BUG #2459: psql 8.1.4 vs 8.0.x behaves differently with tty / con / stdin recent fixes
Next
From: Tom Lane
Date:
Subject: Re: BUG #2459: psql 8.1.4 vs 8.0.x behaves differently with tty / con / stdin recent fixes