aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/array_userfuncs.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-03-13 14:19:21 +0900
committerMichael Paquier <michael@paquier.xyz>2024-03-13 14:19:21 +0900
commita189ed49d6292979be1478292246be61c4563043 (patch)
tree82fcdfe4441a571f6ebe0329b01e2f6989b49b26 /src/backend/utils/adt/array_userfuncs.c
parent0b84f5c419a300dc1b1a70cf63b9907208e52643 (diff)
downloadpostgresql-a189ed49d6292979be1478292246be61c4563043.tar.gz
postgresql-a189ed49d6292979be1478292246be61c4563043.zip
Add tests for more row patterns with COPY FROM .. (ON_ERROR ignore)
While digging into the code of this feature, I got confused by the fact that a line is skipped when a value cannot be converted to its expected attribute even if the line has fewer attributes than the target relation. The tests had a check for the case of an empty line, this commit a couple more patterns where a line is incomplete, but skipped because of a conversion error. Reviewed-by: Bharath Rupireddy Discussion: https://postgr.es/m/Ze_7kZqexdt0BiyC@paquier.xyz
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions