Re: [SQL] Running a file

Поиск
Список
Период
Сортировка
От Brett W. McCoy
Тема Re: [SQL] Running a file
Дата
Msg-id Pine.LNX.4.30.0012241222330.30938-100000@chapelperilous.net
обсуждение исходный текст
Ответ на Running a file  (Thomas SMETS <tsmets@altern.org>)
Ответы Re: [SQL] Running a file  (Kaare Rasmussen <kar@webline.dk>)
Список pgsql-admin
On Sun, 24 Dec 2000, Thomas SMETS wrote:

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

Are you talking about writing external scripts and importing them into
Postgres in a manner similar to the @ function in SQL*Plus?  In psql, you
can use \i to import scripts to do that.

-- Brett
                                     http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
Reading is to the mind what exercise is to the body.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] postgres bombs for continous selects....
Следующее
От: Tomaz Borstnar
Дата:
Сообщение: Re: Is that a bug?