On fös, 2008-07-25 at 10:20 -0700, Sushma Sagaram wrote:
> My requirement is 
> 1) to write a query in a file, read the input from that file, run in
> postgresql and write the output(query results) into a file. I'm not
> able to use combination of \i and \o

see psql --help

in particular the options -f , -c and -o

gnari



-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to