From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix crash in multi-insert COPY |
Date: | 2018-10-17 18:43:39 |
Message-ID: | E1gCqnD-0006S4-IB@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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 <ashu(dot)coek88(at)gmail(dot)com>
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2018-10-17 19:07:06 | pgsql: Fix minor bug in isolationtester. |
Previous Message | Tom Lane | 2018-10-17 18:22:36 | pgsql: Minor additional improvements for ecpglib/prepare.c. |