I am a beginner with Postgres and am trying to figure out how to export my data output (results) onto Excel or a CSV file. I was able to export my results onto a CSV file, but the results are not exactly what I received in my "Data Output" pane. Is there a way to have exactly what I am seeing in my Postgres Output Pane - Data Output in a CSV or Excel file?
Please help..
The copy command is the best way to do this:
http://www.postgresql.org/docs/9.3/static/sql-copy.html