pgsql: Fix bug in COPY CSV mode: handle consecutive embedded newlines in

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bug in COPY CSV mode: handle consecutive embedded newlines in
Date: 2005-05-13 06:35:25
Message-ID: 20050513063525.DEE5153936@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix bug in COPY CSV mode: handle consecutive embedded newlines in COPY
input. Also add a regression test for this bug. From Andrew Dunstan.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
pgsql/src/backend/commands:
copy.c (r1.236 -> r1.236.4.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/copy.c.diff?r1=1.236&r2=1.236.4.1)
pgsql/src/test/regress/expected:
copy2.out (r1.19.4.1 -> r1.19.4.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/copy2.out.diff?r1=1.19.4.1&r2=1.19.4.2)
pgsql/src/test/regress/sql:
copy2.sql (r1.10.4.1 -> r1.10.4.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/copy2.sql.diff?r1=1.10.4.1&r2=1.10.4.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2005-05-13 13:47:20 pgsql: Update chinese encoding specification.
Previous Message Neil Conway 2005-05-13 06:33:41 pgsql: Add regression test for consecutive newlines in COPY CSV mode.