psql: default base and password reading

Поиск
Список
Период
Сортировка
От Adam Osuchowski
Тема psql: default base and password reading
Дата
Msg-id 200110112224.AAA17686@zeus.polsl.gliwice.pl
обсуждение исходный текст
Ответы Re: psql: default base and password reading  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: psql: default base and password reading  (Bradley McLean <brad@bradm.net>)
Список pgsql-patches
Hello,

in attachment I enclose patch on psql which fix two things:

1. If no database was given, template1 is assumed.
2. Password is reading from terminal (/dev/tty) rather than from stdin. It
was usable when we want to pipe sql script on psql and have set password at
the same time. It may be turned off, by pass -i option to psql. Then, psql
behave normally, like it is currently.

Sorry about increasing traffic, if it was already discussed, or it is solved
in other way.

--
##  Adam Osuchowski   adwol@polsl.gliwice.pl, adwol@silesia.linux.org.pl
##  Silesian University of Technology, Computer Centre   Gliwice, Poland

Вложения

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

Предыдущее
От: "Joe Conway"
Дата:
Сообщение: Re: Efficient slicing/substring of TOAST values (for comment)
Следующее
От: John Gray
Дата:
Сообщение: Re: Efficient slicing/substring of TOAST values (for