Re: Windows psql changes after 8.1.1

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "John DeSoi" <desoi(at)pgedit(dot)com>, "PostgreSQL-development Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Windows psql changes after 8.1.1
Date: 2006-11-23 14:12:39
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA3597F@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2006-11-23 14:15:46 Re: Integrating Replication into Core
Previous Message Markus Schiltknecht 2006-11-23 14:01:22 Re: Integrating Replication into Core