From: | Rich Shepard <rshepard(at)appl-ecosys(dot)com> |
---|---|
To: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Creating tables from files |
Date: | 2001-11-07 02:57:58 |
Message-ID: | Pine.LNX.4.33.0111061857050.7562-100000@salmo.appl-ecosys.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 6 Nov 2001, Jason Earl wrote:
> Let's say you had a file (create.sql) that had:
>
> CREATE TABLE foo (
> bar SERIAL PRIMARY KEY,
> baz text
> );
>
> and you wanted to load this into the processdata database. The
> command would look like this:
>
> psql processdata -f create.sql
>
> See man psql for more information, and fire up psql and do /? and
> check out the /i command it does the same thing.
>
> I hope this is helpful,
Yup. Thank you very much, Jason.
Rich
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
+ 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard(at)appl-ecosys(dot)com
http://www.appl-ecosys.com
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-11-07 04:13:35 | Sourceforge on Oracle? |
Previous Message | Bruce Momjian | 2001-11-07 02:21:03 | Re: PL/pgSQL RENAME bug? |