pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Treat <xzilla@users.sourceforge.net>
To: Joseph Syjuco <joseph@asti.dost.gov.ph>
Cc: pgsql-sql@postgresql.org
Subject: Re: how do i import my sql query result to a file
Date: 18 Jul 2002 10:13:40 -0400
Message-ID: <1027001631.22901.30.camel@camel> (raw)
In-Reply-To: <1027028842.7770.0.camel@Askr>
References: <1027028842.7770.0.camel@Askr>

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






view thread (5+ messages)  latest in thread

Message-ID: <1027001631.22901.30.camel@camel>
Permalink:  ../1027001631.22901.30.camel@camel/
Also on:    postgresql.org/message-id/1027001631.22901.30.camel@camel

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: xzilla@users.sourceforge.net, joseph@asti.dost.gov.ph
  Subject: Re: how do i import my sql query result to a file
  In-Reply-To: <1027001631.22901.30.camel@camel>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox