| От | Thomas Lockhart |
|---|---|
| Тема | Re: psql: default base and password reading |
| Дата | |
| Msg-id | 3BC6856B.A2244B@fourpalms.org обсуждение исходный текст |
| Ответ на | psql: default base and password reading (Adam Osuchowski <adwol@polsl.gliwice.pl>) |
| Список | pgsql-patches |
Adam Osuchowski wrote:
>
> Hello,
>
> in attachment I enclose patch on psql which fix two things:
>
> 1. If no database was given, template1 is assumed.
Does this change the current behavior of assuming a database name which
is the same as the user's account name? I'm not sure why the new
behavior is better.
> 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.
Interesting. Is this technique portable to other platforms (just asking;
I'm not sure myself)?
- Thomas
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера