Re: Windows psql changes after 8.1.1 - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Windows psql changes after 8.1.1
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA3597F@algol.sollentuna.se
Whole thread Raw
In response to Windows psql changes after 8.1.1  (John DeSoi <desoi@pgedit.com>)
Responses Re: Windows psql changes after 8.1.1  (John DeSoi <desoi@pgedit.com>)
List pgsql-hackers
> Hi,
>
> My editor starts a shell session to communicate with psql. On
> builds after 8.1.1 this is no longer working on Windows. It
> seems that I'm no longer getting the password prompt (even if
> using the -W).
> Everything appears to be the same as before if I run
> interactively from the command line. I tried to compare the
> source, but I could not find anything that would explain the
> difference (and no problems on the Mac).
>
> Any suggestions on where to look?

Hmm, not sure why that changed after 8.1.1 - I see changes in 8.1.4
only. But - you're not supposed to send the password over stdin/stdout.
I would suggest you set the PGPASSWORD environment variable in the
custom environment. (it's secure on windows)

//Magnus


pgsql-hackers by date:

Previous
From: John DeSoi
Date:
Subject: Windows psql changes after 8.1.1
Next
From: Dimitri Fontaine
Date:
Subject: Re: Integrating Replication into Core