Re: multiline CSV fields

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Patrick B Kelly <pbk(at)patrickbkelly(dot)org>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: multiline CSV fields
Date: 2004-11-11 23:15:15
Message-ID: 4193F283.2020808@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-11-11 23:16:49 Re: multiline CSV fields
Previous Message Thomas Hallgren 2004-11-11 23:14:46 GUC custom variables broken

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-11-11 23:16:49 Re: multiline CSV fields
Previous Message Patrick B Kelly 2004-11-11 23:03:58 Re: multiline CSV fields