Re: COPY table to file missing quotation marks

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: COPY table to file missing quotation marks
Date: 2013-01-31 18:20:16
Message-ID: 510AB5E0.2070308@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message hamann.w 2013-01-31 18:29:28 Re: Optimizing query?
Previous Message Rich Shepard 2013-01-31 18:17:51 Re: COPY table to file missing quotation marks