From: Raju Mathur <raju@linux-delhi.org>
To: psql Admin <pgsql-admin@postgresql.org>
To: psql sql <pgsql-sql@postgresql.org>
Subject: Running a file
Date: Sun, 24 Dec 2000 19:54:06 +0530 (IST)
Message-ID: <14918.1798.708770.614866@localhost.localdomain> (raw)
In-Reply-To: <3A45F7B9.8D75D9BB@altern.org>
References: <3A45F7B9.8D75D9BB@altern.org>
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/
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: raju@linux-delhi.org, pgsql-admin@postgresql.org
Subject: Re: Running a file
In-Reply-To: <14918.1798.708770.614866@localhost.localdomain>
References: <3A45F7B9.8D75D9BB@altern.org> <14918.1798.708770.614866@localhost.localdomain>
* 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