Re: Redirecting Output

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Ben C <benc1(at)today(dot)com(dot)au>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Redirecting Output
Date: 2002-06-25 00:37:14
Message-ID: 20020625103714.C1928@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Jun 23, 2002 at 03:28:21PM -0700, Ben C wrote:
> Hi there,
>
> I am hoping that someone can point me to the docs where I will find
> the answer to this problem ... all I am trying to do is redirect
> output from a select statement (from either an SQL or PL\pgsql
> function) to a text file ... seems simple enough ... however after
> reading as many docs/books that I can find I have not been able to
> find a solution ... is it possible?? If so would someone be kind
> enough to point me to some documentation re: this?

Also, in psql you can use the \g command

--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> There are 10 kinds of people in the world, those that can do binary
> arithmetic and those that can't.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Sabino Mullane 2002-06-25 00:39:33 Re: Astonishing explain...!
Previous Message Martijn van Oosterhout 2002-06-25 00:31:39 Re: SQL server application porting headache