Re: Include another file in this SQL file? - Mailing list pgsql-novice

From Tom Lane
Subject Re: Include another file in this SQL file?
Date
Msg-id 26602.993852667@sss.pgh.pa.us
Whole thread Raw
In response to Include another file in this SQL file?  (Barry Hoggard <barry@hoggard.org>)
List pgsql-novice
Barry Hoggard <barry@hoggard.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

pgsql-novice by date:

Previous
From: Barry Hoggard
Date:
Subject: Include another file in this SQL file?
Next
From: Karquel Olivier
Date:
Subject: Re: I get this error...