Re: multiline CSV fields - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: multiline CSV fields
Date
Msg-id 4193F283.2020808@dunslane.net
Whole thread Raw
In response to Re: multiline CSV fields  (Patrick B Kelly <pbk@patrickbkelly.org>)
List pgsql-hackers

Patrick B Kelly wrote:

>
>
> What about just coding a FSM into 
> backend/commands/copy.c:CopyReadLine() that does not process any 
> flavor of NL characters when it is inside of a data field?
>
>
>
It would be a major change - the routine doesn't read data a field at a 
time, and has no idea if we are even in CSV mode at all. It would be 
rather late in the dev cycle to be making such changes, I suspect.

cheers

andrew


pgsql-hackers by date:

Previous
From: Thomas Hallgren
Date:
Subject: GUC custom variables broken
Next
From: Tom Lane
Date:
Subject: Re: multiline CSV fields