Re: [SQL] Running a file

From: Thomas SMETS <tsmets(at)altern(dot)org>
To: raju(at)linux-delhi(dot)org
Cc: psql Admin <pgsql-admin(at)postgresql(dot)org>, psql sql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: [SQL] Running a file
Date: 2000-12-30 01:05:37
Message-ID: 3A4D34E1.B23506B9@altern.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-sql


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(at)altern(dot)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(at)kandalaya(dot)org http://kandalaya.org/

--
Sat Dec 30 00:39:50 CET 2000

Thomas SMETS e-mail : tsmets(at)altern(dot)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 ===========

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2000-12-30 01:11:40 Re: IPC Problem
Previous Message Thomas SMETS 2000-12-30 00:50:05 Re: Running a file

Browse pgsql-sql by date

  From Date Subject
Next Message Thomas SMETS 2000-12-30 01:40:13 Toad version for PostgreSQL
Previous Message Thomas SMETS 2000-12-30 01:04:16 [Fwd: Looking for comments]