Re: psql: Is it possible to run a query from a *sql file?

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: psql: Is it possible to run a query from a *sql file?
Дата
Msg-id 20050502135432.GA9068@wolff.to
обсуждение исходный текст
Ответ на Re: psql: Is it possible to run a query from a *sql file?  (Ennio-Sr <nasr.laili@tin.it>)
Список pgsql-novice
On Mon, May 02, 2005 at 02:38:39 +0200,
  Ennio-Sr <nasr.laili@tin.it> wrote:
> * Tom Lane <tgl@sss.pgh.pa.us> [010505, 13:24]:
>
> > rather than the other way round.  It's hard to envision a script that
> > needs user interaction and won't shortly thereafter need control
>                                                       ^^^^^^^^^^^^
> > structures etc.
>   ^^^^^^^^^^^^^^^
> Sorry! I forgot to ask it in my previous answer:
> What does that exactly mean?
> Where can I read for a better understanding?
> Regards, Ennio.

Statements that provide for conditional and repeated execution of other
statements. psql dosn't have that, but your shell almost certainly does.

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

Предыдущее
От: Wayne Pierce
Дата:
Сообщение: Connection problems with "psql -h localhost postgres"
Следующее
От: Andreas Kretschmer
Дата:
Сообщение: Re: [despammed] Connection problems with "psql -h localhost postgres"