pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Eugene E. <sad@bankir.ru>
To: Judith Altamirano Figueroa <jaltamirano@correolux.com.mx>
Cc: pgsql-sql@postgresql.org
Subject: Re: query to file
Date: Wed, 19 Oct 2005 09:41:08 +0400
Message-ID: <4355DC74.6020006@bankir.ru> (raw)
In-Reply-To: <1129676639.3523.19.camel@Desarrollo>
References: <1129676639.3523.19.camel@Desarrollo>

Judith Altamirano Figueroa wrote:
> Excuse me, how can I send a query to a file?, for example the result of
> this query:
> 
> select id_articulo, articulo, color_code from articulos;

if you mean psql

\o filename

and try to read output of a command \?



view thread (4+ messages)

Message-ID: <4355DC74.6020006@bankir.ru>
Permalink:  ../4355DC74.6020006@bankir.ru/
Also on:    postgresql.org/message-id/4355DC74.6020006@bankir.ru

 · 

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: sad@bankir.ru, jaltamirano@correolux.com.mx
  Subject: Re: query to file
  In-Reply-To: <4355DC74.6020006@bankir.ru>

* 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