Re: Problem running script

From: Ragnar <gnari(at)hive(dot)is>
To: Sushma Sagaram <sushma(dot)2276(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem running script
Date: 2008-07-30 16:32:16
Message-ID: 1217435536.9672.4.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support 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

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2008-07-31 12:30:16 Google Summer of Code Projects
Previous Message agnul 2008-07-30 15:59:35 pgAdminIII / pg_dump version mismatch

Browse pgsql-general by date

  From Date Subject
Next Message Ivan Garro 2008-07-30 17:51:40 Error 10061
Previous Message Robert Treat 2008-07-30 15:14:52 Re: Must be table owner to truncate?