export csv file on XP

From: Wang Kuo-Ying <stu93303148(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: export csv file on XP
Date: 2009-07-31 15:57:25
Message-ID: be0694be0907310857x11db0ed3h30543e97d3b77778@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I want to know how to export csv file.

Command:
copy test to 'c:/test.csv'
delimiters ',' ;

but the error ERROR: could not open file "c:/test.csv" for writing:
Permission denied

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Wang Kuo-Ying 2009-07-31 15:58:05 export csv file on XP
Previous Message Merlin Moncure 2009-07-31 15:31:37 Re: MSSQL to PostgreSQL