Outputting select into file. - Mailing list pgsql-general

From Troy.Campano@LibertyMutual.com
Subject Outputting select into file.
Date
Msg-id 9534B16F750ED2118CF90008C724C4460C22235B@lmig-msg-20.lmig.com
Whole thread Raw
Responses Outputting select into file.
List pgsql-general

Hello,

I have postgres 7 running on RedHat Linux.

I was wondering if you knew of a way to run a select and output it to a file.

For example

SELECT * FROM TABLE >> test.out

So that test.out would have the results from that SQL Statement.

Thank you for your time,

Troy Campano

pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Query hangs when getting too complex...
Next
From: Paulo Jan
Date:
Subject: Re: Query hangs when getting too complex...