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

Neil Conway <neilc@samurai.com>

Commit: 9ac4af684737f9c20ba60eda67ac41c41d41ea3e
Author: Neil Conway <neilc@samurai.com>
Date: 2005-05-13T06:35:25Z
Releases: 8.0.4
Fix bug in COPY CSV mode: handle consecutive embedded newlines in COPY
input. Also add a regression test for this bug. From Andrew Dunstan.

Files

PathChange+/−
src/backend/commands/copy.c modified +2 −1
src/test/regress/expected/copy2.out modified +3 −0
src/test/regress/sql/copy2.sql modified +11 −0