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
---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings