Re: \prompt for psql

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: \prompt for psql
Дата
Msg-id 200702171507.l1HF79W04516@momjian.us
обсуждение исходный текст
Ответ на Re: \prompt for psql  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: \prompt for psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Magnus Hagander wrote:
> Peter Eisentraut wrote:
> > Bruce Momjian wrote:
> >> Seems the consensus was this was a good idea, and not feature-creep.
> >
> > I wonder whether we want this to read from the console, like the
> > password prompts, or from stdin.  Not sure which is more useful.
> >
> I think from stdin. Otherwise it won't be possible to script it at all.
> Passwords are special, other prompts are not, I think.

stdin makes it impossible to read a script from stdin and still prompt
the user, but I think that is of limited usefulness.

--
  Bruce Momjian  <bruce@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: \prompt for psql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: patch adding new regexp functions