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

From Silvio Macedo
Subject Re: BUG #2459: psql 8.1.4 vs 8.0.x behaves differently with tty / con / stdin recent fixes
Date
Msg-id 01b401c6834c$c22a19d0$491a75c2@plexus
Whole thread Raw
In response to Re: BUG #2459: psql 8.1.4 vs 8.0.x behaves differently with tty / con / stdin recent fixes  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #2459: psql 8.1.4 vs 8.0.x behaves differently with tty  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-bugs
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]=20
> Sent: 29 May 2006 18:16
> "Silvio Macedo" <smacedo@calmetric.pt> writes:
> > I've been using stdin/stdout of psql on Windows to run a=20
> script, without
> > messing with "expect".
> > Before v8.1.4, one could include the password in the string=20
> fed to psql via
> > stdin to authenticate the connection.
> > With 8.1.4, it doesn't work.
>=20
> 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.
>=20
>             regards, tom lane

Thanks Alvaro, Tom and Bruce for the quick replies. What an honour!
Regarding UNIX, I know - I helped a tiny bit the port of PGSql to
Linux Sparc64.;)

In this case, I think users upgrading from 8.0.x to 8.1. should be
warned.(think interfacing with old software, no source available,
"upgraded" to PGSql via messy console stub scripts)

Users uncomfortable with writing down the password on a PGPASSWORD
environment var or pgpass.conf, ___*on the machine running PSQL
client*___, seem to have no solution then... I know - something to ask
in pgsql-general.

Thanks again,

Silvio
calmetric.pt

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #2459: psql 8.1.4 vs 8.0.x behaves differently with
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #2459: psql 8.1.4 vs 8.0.x behaves differently with tty