COPY TO with FORCE QUOTE *

Lists: pgsql-sql
From: "Jackson Pauls" <jacksonpauls(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: COPY TO with FORCE QUOTE *
Date: 2008-08-18 12:28:27
Message-ID: f8ccd3a90808180528s99804dcp6157c89d2a028403@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-sql

I would like to be able to force quotes on all columns in the COPY TO
command without having to name all columns explicitly. E.g.:

COPY a TO '/tmp/a.csv' WITH CSV FORCE QUOTE *;

Reading the documentation, there doesn't seem to be a way to do this.
Am I missing something? If not, could I submit this as a feature
request?

many thanks, jackson