Re: CSV consecutive newline bug

From: Neil Conway <neilc(at)samurai(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: CSV consecutive newline bug
Date: 2005-05-12 00:42:42
Message-ID: 4282A682.1040108@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Andrew Dunstan wrote:
> I have just been alerted to a bug in the 8.0 handling of embedded
> newlines in CSV data. Basically it barfs on consecutive newlines. The
> attached patch for 8.0 appears to fix it. The bug isn't present in the
> HEAD branch, and I'm wondering if we should not backpatch the HEAD
> multiline patch rather than applying this.

Is there a particular reason to backport the larger patch? As a general
rule I'm inclined to apply minimally-invasive fixes to stable branches,
but I don't know the code in question, so perhaps there is some reason
to make an exception in this case.

Also, a regression test for this bug would be nice :)

-Neil

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2005-05-12 01:18:57 Re: CSV consecutive newline bug
Previous Message Neil Conway 2005-05-12 00:40:02 Re: minor contrib/btree_gist cleanup