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