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

From Tom Lane
Subject Re: BUG #2459: psql 8.1.4 vs 8.0.x behaves differently with tty / con / stdin recent fixes
Date
Msg-id 15306.1148922959@sss.pgh.pa.us
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>)
Responses Re: BUG #2459: psql 8.1.4 vs 8.0.x behaves differently with tty / con / stdin recent fixes
List pgsql-bugs
"Silvio Macedo" <smacedo@calmetric.pt> writes:
> 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.

That's how it's been on Unix for a long time (/dev/tty is not stdin),
so I'd say this is a bug fix not a bug.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #2459: psql 8.1.4 vs 8.0.x behaves differently with tty / con / stdin recent fixes
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #2459: psql 8.1.4 vs 8.0.x behaves differently with