Fix crash in multi-insert COPY A bug introduced in 0d5f05cde011512e605bb2688d9b1fbb5b3ae152 considered the *previous* partition's triggers when deciding whether multi-insert can be used. Rearrange the code so that the current partition is considered.
Author: Ashutosh Sharma <[email protected]> Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/a7a1b44516e7db89104c06440f759c2831fcb0ff Modified Files -------------- src/backend/commands/copy.c | 27 +++++++++++++-------------- src/test/regress/input/copy.source | 19 +++++++++++++++++++ src/test/regress/output/copy.source | 20 ++++++++++++++++++++ 3 files changed, 52 insertions(+), 14 deletions(-)
