Re: COPY table to file missing quotation marks - Mailing list pgsql-general

From Rich Shepard
Subject Re: COPY table to file missing quotation marks
Date
Msg-id alpine.LNX.2.00.1301311016310.32615@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: COPY table to file missing quotation marks  (Adrian Klaver <adrian.klaver@gmail.com>)
Responses Re: COPY table to file missing quotation marks  (Adrian Klaver <adrian.klaver@gmail.com>)
List 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



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: COPY table to file missing quotation marks
Next
From: Adrian Klaver
Date:
Subject: Re: COPY table to file missing quotation marks