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

COPY TO with FORCE QUOTE *

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 (view raw or flat)
Thread:
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

pgsql-sql by date

Next:From: Daniel HernandezDate: 2008-08-18 16:30:03
Subject: Re: Join question
Previous:From: Andreas KretschmerDate: 2008-08-18 11:12:14
Subject: Re: Select function with set return type

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