Re: creating tables using a file - Mailing list pgsql-general

From A. Kretschmer
Subject Re: creating tables using a file
Date
Msg-id 20090211065942.GA20782@a-kretschmer.de
Whole thread Raw
In response to creating tables using a file  (Kusuma Pabba <kusumap@ncoretech.com>)
List pgsql-general
In response to Kusuma Pabba :
> hello all,
>    i have used a file containing all the queries and directly executed
> the file  to create tables in mysql, now i want to use the same for psql
> is it
> possible?

Sure, psql -f or within psql with \i.


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: Intel SSD
Next
From: Pavel Stehule
Date:
Subject: Re: Pl/PgSQL String formatting like raise?