Re: Should CSV parsing be stricter about mid-field quotes? - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Should CSV parsing be stricter about mid-field quotes?
Date
Msg-id 6982dfa1-b784-49ba-b7c7-d2a8be0f77a6@dunslane.net
Whole thread Raw
In response to Re: Should CSV parsing be stricter about mid-field quotes?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2024-10-09 We 11:58 AM, Tom Lane wrote:
> "Joel Jacobson" <joel@compiler.org> writes:
>> I think it would be nicest to introduce a new "raw" FORMAT,
>> that clearly get things right already at the top-level,
>> instead of trying to customize any of the existing formats.
> FWIW, I like this idea.  It makes it much clearer how to have a
> fast parsing path.
>
>             



WFM, so something like FORMAT {SIMPLE, RAW, FAST, SINGLE}? We don't seem 
to have an existing keyword that we could sanely reuse here.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Should CSV parsing be stricter about mid-field quotes?
Next
From: Ranier Vilela
Date:
Subject: Re: Avoid possible overflow (src/port/bsearch_arg.c)