- Downloads
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
Showing
- doc/src/sgml/ref/copy.sgml 15 additions, 10 deletionsdoc/src/sgml/ref/copy.sgml
- src/backend/commands/copy.c 207 additions, 192 deletionssrc/backend/commands/copy.c
- src/test/regress/expected/copy2.out 52 additions, 4 deletionssrc/test/regress/expected/copy2.out
- src/test/regress/sql/copy2.sql 45 additions, 4 deletionssrc/test/regress/sql/copy2.sql
Please register or sign in to comment