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

From Geoffrey
Subject Re: [despammed] Insert psql commands inside a script
Date
Msg-id 426A51AC.4070505@3times25.net
Whole thread Raw
In response to Re: [despammed] Insert psql commands inside a script  (Michael Fuhr <mike@fuhr.org>)
List pgsql-sql
Michael Fuhr wrote:
> 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.

My bad, I misread the post as indicating he wanted to use an external 
file.  Too early on a Saturday with a late Friday and not enough coffee 
yet...

-- 
Until later, Geoffrey


pgsql-sql by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: [despammed] Insert psql commands inside a script
Next
From: "Tadej Kanizar"
Date:
Subject: weird SQL statement question