Re: postgres scripting

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: postgres scripting
Дата
Msg-id 4AB12FFE020000250002B214@gw.wicourts.gov
обсуждение исходный текст
Ответ на postgres scripting  (John P Weatherman <jweatherman91@alumni.wfu.edu>)
Список pgsql-admin
John P Weatherman <jweatherman91@alumni.wfu.edu> wrote:

> can handle identifying the dbs and starting postgres no problem, but
I
> can't seem to find a way to pass a CTRL-D character from within a
bash
> script to the postgres executable.

Why not put the SQL in a separate file and pipe it in?
(I haven't tested that, but it seems likely to work....)

-Kevin

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

Предыдущее
От: John P Weatherman
Дата:
Сообщение: postgres scripting
Следующее
От: Tom Lane
Дата:
Сообщение: Re: postgres scripting