Re: [despammed] Insert psql commands inside a script - Mailing list pgsql-sql

From Michael Fuhr
Subject Re: [despammed] Insert psql commands inside a script
Date
Msg-id 20050423133042.GA21979@winnie.fuhr.org
Whole thread Raw
In response to Re: [despammed] Insert psql commands inside a script  (Geoffrey <esoteric@3times25.net>)
Responses Re: [despammed] Insert psql commands inside a script
List pgsql-sql
On Sat, Apr 23, 2005 at 08:15:48AM -0400, Geoffrey wrote:
> 
> Or you can do the following:
> 
> psql database < sqlcode
> 
> where sqlcode contains your sql.

That command redirects the standard input from the file named
sqlcode; the requirement says NOT to use an external file.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/


pgsql-sql by date:

Previous
From: Geoffrey
Date:
Subject: Re: [despammed] Insert psql commands inside a script
Next
From: Geoffrey
Date:
Subject: Re: [despammed] Insert psql commands inside a script