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

From Adrian Klaver
Subject Re: COPY table to file missing quotation marks
Date
Msg-id 510AB5E0.2070308@gmail.com
Whole thread Raw
In response to Re: COPY table to file missing quotation marks  (Rich Shepard <rshepard@appl-ecosys.com>)
List pgsql-general
On 01/31/2013 10:17 AM, Rich Shepard wrote:
> 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.

Any particular reason why?

>
> Thanks,
>
> Rich
>
>
>


--
Adrian Klaver
adrian.klaver@gmail.com


pgsql-general by date:

Previous
From: Rich Shepard
Date:
Subject: Re: COPY table to file missing quotation marks
Next
From: NickJonas
Date:
Subject: Re: Windows Phone/Postgresql