Fix bug in COPY CSV mode: handle consecutive embedded newlines in COPY
Neil Conway <neilc@samurai.com>
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
| Path | Change | +/− |
|---|---|---|
| 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 |