Re: Windows psql changes after 8.1.1

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Windows psql changes after 8.1.1
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA3597F@algol.sollentuna.se
обсуждение исходный текст
Ответ на Windows psql changes after 8.1.1  (John DeSoi <desoi@pgedit.com>)
Ответы Re: Windows psql changes after 8.1.1  (John DeSoi <desoi@pgedit.com>)
Список 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 по дате отправления:

Предыдущее
От: John DeSoi
Дата:
Сообщение: Windows psql changes after 8.1.1
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Integrating Replication into Core