Re: [SQL] Running a file - Mailing list pgsql-admin

From Brett W. McCoy
Subject Re: [SQL] Running a file
Date
Msg-id Pine.LNX.4.30.0012241222330.30938-100000@chapelperilous.net
Whole thread Raw
In response to Running a file  (Thomas SMETS <tsmets@altern.org>)
Responses Re: [SQL] Running a file
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] postgres bombs for continous selects....
Next
From: Tomaz Borstnar
Date:
Subject: Re: Is that a bug?