Re: how do i import my sql query result to a file - Mailing list pgsql-sql

From Robert Treat
Subject Re: how do i import my sql query result to a file
Date
Msg-id 1027001631.22901.30.camel@camel
Whole thread Raw
In response to how do i import my sql query result to a file  (Joseph Syjuco <joseph@asti.dost.gov.ph>)
List pgsql-sql
not sure I understand the question, but from inside psql you can do:
\o FILENAME    send all query results to file or |pipe

Robert Treat

On Thu, 2002-07-18 at 17:47, Joseph Syjuco wrote:
> how do i import results of my select query to a file
> thanks
> 
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://archives.postgresql.org





pgsql-sql by date:

Previous
From: Christoph Haller
Date:
Subject: Re: How to find out if an index is unique?
Next
From: Josh Berkus
Date:
Subject: Re: Indexing UNIONs