OSDN Git Service

IMPROVED VERSION APPLIED:
authorBruce Momjian <bruce@momjian.us>
Tue, 30 Jul 2002 16:55:06 +0000 (16:55 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 30 Jul 2002 16:55:06 +0000 (16:55 +0000)
commit874148fe34d404d8dc77d8ed7482f16f5aaad5ba
tree8e71bbe88379e931a809105e41417dac93566a7d
parent1dedbf2da5c4aa741bbc6f16dc3ad819625b84f0
IMPROVED VERSION APPLIED:

The attached patch completes the following TODO item:

    * Generate failure on short COPY lines rather than pad NULLs

I also restructed a lot of the existing COPY code, did some code
review on the column list patch sent in by Brent Verner a little
while ago, and added some regression tests. I also added an
explicit check (and resultant error) for extra data before
the end-of-line.

Neil Conway
doc/src/sgml/ref/copy.sgml
src/backend/commands/copy.c
src/test/regress/expected/copy2.out
src/test/regress/sql/copy2.sql