Re: Include another file in this SQL file?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Barry Hoggard <barry(at)hoggard(dot)org>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Include another file in this SQL file?
Date: 2001-06-29 22:11:07
Message-ID: 26602.993852667@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Barry Hoggard <barry(at)hoggard(dot)org> writes:
> I tried to search for this in the archives, but couldn't find it.
> I know I can use @@filename to include another file of sql commands in
> Oracle. How do I do this when passing a file to psql with the -f
> command line option, or \i?

You seem to know the answer already: use \i.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Karquel Olivier 2001-06-30 03:51:01 I get this error...
Previous Message Barry Hoggard 2001-06-29 21:53:33 Include another file in this SQL file?