Re: piping output to file - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: piping output to file
Date
Msg-id 20040208175918.GA5820@svana.org
Whole thread Raw
In response to piping output to file  (Russ Schneider <russ@sugapablo.com>)
List pgsql-general
On Sun, Feb 08, 2004 at 12:28:21PM -0500, Russ Schneider wrote:
> Is there an easy way to pipe a select statement's output to a file?

In psql, type \? and look at what \o and \g do. They both do it but slightly
differently.

--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> (... have gone from d-i being barely usable even by its developers
> anywhere, to being about 20% done. Sweet. And the last 80% usually takes
> 20% of the time, too, right?) -- Anthony Towns, debian-devel-announce

Attachment

pgsql-general by date:

Previous
From: Russ Schneider
Date:
Subject: piping output to file
Next
From: "Ed L."
Date:
Subject: fsync = true beneficial on ext3?