Re: Problem running script - Mailing list pgsql-general

From Ragnar
Subject Re: Problem running script
Date
Msg-id 1217435536.9672.4.camel@localhost.localdomain
Whole thread Raw
In response to Problem running script  ("Sushma Sagaram" <sushma.2276@gmail.com>)
List pgsql-general
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



pgsql-general by date:

Previous
From: Robert Treat
Date:
Subject: Re: Must be table owner to truncate?
Next
From: "Ivan Garro"
Date:
Subject: Error 10061