Re: running from a script

Поиск
Список
Период
Сортировка
От Ewald Geschwinde
Тема Re: running from a script
Дата
Msg-id 3D1B23FA.9030703@geschwinde.net
обсуждение исходный текст
Ответ на running from a script  ("Molenda, Mark P" <mark.molenda@eds.com>)
Список pgsql-novice
Molenda, Mark P wrote:

>I've read through most of Bruce Momjian's book on PostgresSQL and I have not
>seen anything that shows how to run SQL commands from a script.  I'm trying
>to emulate some of the work I've done with Oracle in the past where I was
>able to write either a DEC DCL script or a UNIX shell script to run SQL
>commands
>out of cron or another scheduler.  Any help of snipits on how to get started
>would be appreciated. -Mark
>
>Mark P. Molenda <<...OLE_Obj...>>
>Senior Information Specialist
>NYSC
>
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster
>
>
>
>
>
psql -d database -U user < sqlfile

Is that what you mean ?






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

Предыдущее
От: "Molenda, Mark P"
Дата:
Сообщение: running from a script
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: running from a script