From: | Raju Mathur <raju(at)linux-delhi(dot)org> |
---|---|
To: | psql Admin <pgsql-admin(at)postgresql(dot)org>, psql sql <pgsql-sql(at)postgresql(dot)org> |
Subject: | Running a file |
Date: | 2000-12-24 14:24:06 |
Message-ID: | 14918.1798.708770.614866@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-sql |
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/
From | Date | Subject | |
---|---|---|---|
Next Message | xyzii | 2000-12-24 16:57:26 | pg_dumap not include foreign key... |
Previous Message | Anthony E . Greene | 2000-12-24 13:39:37 | Re: Running a file |
From | Date | Subject | |
---|---|---|---|
Next Message | D'Arcy J.M. Cain | 2000-12-24 14:57:21 | Re: Invoice number |
Previous Message | Anthony E . Greene | 2000-12-24 13:39:37 | Re: Running a file |