Skip site navigation (1) Skip section navigation (2)

dumping query results to a csv

From: David Durham <ddurham(at)vailsys(dot)com>
To: pg-admin(at)postgresql(dot)org
Subject: dumping query results to a csv
Date: 2005-08-25 22:16:30
Message-ID: 430E433E.5000405@vailsys.com (view raw or flat)
Thread:
Lists: pgsql-admin
This is kind of a pg-admin newbie question, so apologies in advance.

Anyway, I'd like to issue a command that dumps the results of a query to 
a txt file in comma delimited format.  Does PostgreSQL ship with 
something to do this?  I searched the web, but found what appeared to be 
non-free solutions.

Thanks,

Dave

pgsql-admin by date

Next:From: David DurhamDate: 2005-08-25 22:24:54
Subject: dumping query results to a csv
Previous:From: Chris HooverDate: 2005-08-25 21:53:29
Subject: Problem with rules

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group