Re: \prompt for psql

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: \prompt for psql
Дата
Msg-id 200702081225.41292.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: \prompt for psql  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: \prompt for psql  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-patches
Magnus Hagander wrote:
> That also requires a "reasonable shell", which all platforms don't
> have...

I think doing any sort of reasonable scripting around psql requires a
reasonable shell.  Or next someone will suggest implementing loops and
conditionals in psql.

For that matter, I suspect in any shell you can read the required
variables beforehand and pass them into psql through arguments.  So the
use case for reading variables during a psql script seems questionable
anyway (without conditionals, at least).

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: \prompt for psql
Следующее
От: "Chad Wagner"
Дата:
Сообщение: Re: \prompt for psql