Re: Enhancement to psql command, feedback.

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Enhancement to psql command, feedback.
Дата
Msg-id CAKFQuwZE0xUMjOO_VwX-i594MCm2RtAfgiV8O=x73eYgMmzOZQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Enhancement to psql command, feedback.  (John McKown <john.archie.mckown@gmail.com>)
Ответы Re: Enhancement to psql command, feedback.  (John McKown <john.archie.mckown@gmail.com>)
Список pgsql-general
On Wed, May 9, 2018 at 6:44 AM, John McKown <john.archie.mckown@gmail.com> wrote:
Again, this is just a discussion point. And I'm quite willing to admit defeat if most people don't think that it is worth the effort.

​-1, at least per the example.  I would not want "-U postgres" inside the file.  I tend to rely on service entries, not environment variables, and wouldn't want to hard-code them either.  While psql has grown more flow-control capabilities recently it is, in most cases, a support language for me, not a main entry point.  Shell scripts merge the per-instance run-time environment I need with the behavior the script provides - merging that I find I need more often than not and don't miss the added overhead in the few cases where it is unnecessary.

David J.

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Enhancement to psql command, feedback.
Следующее
От: John McKown
Дата:
Сообщение: Re: Enhancement to psql command, feedback.