Re: psql: default base and password reading

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql: default base and password reading
Дата
Msg-id 10256.1002988402@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: psql: default base and password reading  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: psql: default base and password reading  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
>> In fact, I wonder if we should just fail if we need to prompt for a
>> password and can't open /dev/tty.  The function is simple_prompt() and
>> if we can't open /dev/tty, maybe we should just assume the user typed
>> nothing.

> Would be okay with me ...

On second thought --- are we creating any portability problems if we
assume /dev/tty exists?  In particular, what about the Windows port
of psql?  Will it still work?

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: Showing index details with \d on psql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: psql: default base and password reading