Re: query to file

From: "Eugene E(dot)" <sad(at)bankir(dot)ru>
To: Judith Altamirano Figueroa <jaltamirano(at)correolux(dot)com(dot)mx>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: query to file
Date: 2005-10-19 05:41:08
Message-ID: 4355DC74.6020006@bankir.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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 \?

In response to

  • query to file at 2005-10-18 23:03:59 from Judith Altamirano Figueroa

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Glaesemann 2005-10-19 05:41:25 Re: Problem -Postgre sql
Previous Message efa din 2005-10-19 04:43:34 how to create rule as on delete