Re: creating tables using a file

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: creating tables using a file
Date: 2009-02-11 06:59:43
Message-ID: 20090211065942.GA20782@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2009-02-11 07:04:58 Re: Pl/PgSQL String formatting like raise?
Previous Message John R Pierce 2009-02-11 06:55:58 Re: Intel SSD