Re: COPY table to file missing quotation marks

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: COPY table to file missing quotation marks
Date: 2013-01-31 18:17:51
Message-ID: alpine.LNX.2.00.1301311016310.32615@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 31 Jan 2013, Adrian Klaver wrote:

> FORCE_QUOTE Forces quoting to be used for all non-NULL values in each
> specified column. NULL output is never quoted. If * is specified,
> non-NULL values will be quoted in all columns. This option is allowed only
> in COPY TO, and only when using CSV format.

> Use FORCE_QUOTE * to quote all columns.

Adrian,

That's correct. Most of the columns are numeric so each text column needs
to be specified.

Thanks,

Rich

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2013-01-31 18:20:16 Re: COPY table to file missing quotation marks
Previous Message Adrian Klaver 2013-01-31 18:05:13 Re: COPY table to file missing quotation marks