Received: from aeon.tvd.be (aeon.tvd.be [195.162.196.20]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eBU0rSL50044 for ; Fri, 29 Dec 2000 19:53:28 -0500 (EST) (envelope-from tsmets@altern.org) Received: from altern.org (cable-213-132-132-137.upc.chello.be [213.132.132.137]) by aeon.tvd.be (8.9.3/8.9.3/RELAY-1.1) with ESMTP id BAA29654; Sat, 30 Dec 2000 01:53:20 +0100 (MET) Message-ID: <3A4D313D.5FE508BB@altern.org> Date: Sat, 30 Dec 2000 01:50:05 +0100 From: Thomas SMETS Organization: Private X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.9-27mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: "Brett W. McCoy" CC: psql sql Subject: Re: Running a file References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Archive-Number: 200012/297 X-Sequence-Number: 634 Tx, Thomas, "Brett W. McCoy" wrote: > > 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. -- Sat Dec 30 00:39:50 CET 2000 Thomas SMETS e-mail : tsmets@altern.org Av. de la Brabançonne 133 / 3 Tel. : +32 (0)2 742. 05. 94. 1030 Bruxelles ======= Quote of the Day ========= Ye've also got to remember that ... respectable people do the most astonishin' things to preserve their respectability. Thank God I'm not respectable. -- Ruthven Campbell Todd ========= End of Quote ===========