Skip site navigation (1) Skip section navigation (2)

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

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Silvio Macedo <smacedo(at)calmetric(dot)pt>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2459: psql 8.1.4 vs 8.0.x behaves differently with tty / con / stdin recent fixes
Date: 2006-05-29 16:56:59
Message-ID: 20060529165659.GC24193@surnet.cl (view raw or flat)
Thread:
Lists: 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.

In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 2006-05-29 17:15:59
Subject: Re: BUG #2459: psql 8.1.4 vs 8.0.x behaves differently with tty / con / stdin recent fixes
Previous:From: Silvio MacedoDate: 2006-05-29 16:53:59
Subject: BUG #2459: psql 8.1.4 vs 8.0.x behaves differently with tty / con / stdin recent fixes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group