Re: piping output to file

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Russ Schneider <russ(at)sugapablo(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: piping output to file
Date: 2004-02-09 17:16:36
Message-ID: Pine.LNX.4.33.0402091016150.24217-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, 8 Feb 2004, Russ Schneider wrote:

> Is there an easy way to pipe a select statement's output to a file?

In psql you can use \o [filename] to direct query output to a file.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Barbara Lindsey 2004-02-09 17:16:44 Re: setting default value by "trigger"
Previous Message James Moe 2004-02-09 17:16:14 Re: Quad Xeon vs. Dual Itanium