Running a file

Поиск
Список
Период
Сортировка
От Raju Mathur
Тема Running a file
Дата
Msg-id 14918.1798.708770.614866@localhost.localdomain
обсуждение исходный текст
Ответ на Running a file  (Thomas SMETS <tsmets@altern.org>)
Список pgsql-admin
Hi Thomas,

Is it possible you're looking for:

   psql -f script.sql <database>

?

Regards,

-- Raju

>>>>> "Thomas" == Thomas SMETS <tsmets@altern.org> writes:

    Thomas> I'm runnin postgres 7.?? (Last RPM package available from
    Thomas> the site).

    Thomas> I want to create a few DB creation scripts so I can
    Thomas> "publish" that afterwards.  On Oracle there's a such
    Thomas> possibility but I haven't seen anything comaprable in the
    Thomas> docs ...  I however think I'm missing one of the very
    Thomas> first possibility of "pgsql".  Could someone point me were
    Thomas> I could find some more infos on that matter ?

    Thomas> Tx,

    Thomas> Thomas,

    Thomas> p.s. : Merry Xmas for some / Enjoy Ead / Merry Solstice
    Thomas> for the others :-)
--
Raju Mathur          raju@kandalaya.org           http://kandalaya.org/

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

Предыдущее
От: "Anthony E . Greene"
Дата:
Сообщение: Re: Running a file
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Is that a bug?