Select results output to file? - Mailing list pgsql-novice

From Dennis King
Subject Select results output to file?
Date
Msg-id 20030313043758.19035.qmail@web40407.mail.yahoo.com
Whole thread Raw
Responses Re: Select results output to file?
List pgsql-novice
I want to output to a file, but haven't found anything but the SQL
copy statement. I want to output the results of a select statement,
though. Ideally I'd be doing this from inside a pl/pgsql function.

I've looked through both books and searched the archives. Seems like
this should be a common thing to do; what did I miss?

Thanks!

Dennis


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

pgsql-novice by date:

Previous
From: Muhammad Shariq Muzaffar
Date:
Subject: Re: create function pl/pgsql c langauge
Next
From: Joe Conway
Date:
Subject: Re: Select results output to file?