From: Thomas SMETS <tsmets@altern.org>
To: raju@linux-delhi.org
Cc: psql Admin <pgsql-admin@postgresql.org>
Cc: psql sql <pgsql-sql@postgresql.org>
Subject: Re: [SQL] Running a file
Date: Sat, 30 Dec 2000 02:05:37 +0100
Message-ID: <3A4D34E1.B23506B9@altern.org> (raw)
References: <3A45F7B9.8D75D9BB@altern.org>
<14918.1798.708770.614866@localhost.localdomain>
Yep,
Tx,
Thomas,
p.s. Sorry for the stupid question
Raju Mathur wrote:
>
> 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/
--
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 ===========
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: tsmets@altern.org, raju@linux-delhi.org, pgsql-admin@postgresql.org
Subject: Re: [SQL] Running a file
In-Reply-To: <3A4D34E1.B23506B9@altern.org>
References: <3A45F7B9.8D75D9BB@altern.org> <14918.1798.708770.614866@localhost.localdomain> <3A4D34E1.B23506B9@altern.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox