| From: | Andrew Gierth <rhodiumtoad(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Fix COPY's handling of transition tables with indexes. |
| Date: | 2017-07-10 10:44:06 |
| Message-ID: | E1dUWAg-0002yP-P5@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Fix COPY's handling of transition tables with indexes.
Commit c46c0e5202e8cfe750c6629db7852fdb15d528f3 failed to pass the
TransitionCaptureState object to ExecARInsertTriggers() in the case
where it's using heap_multi_insert and there are indexes. Repair.
Thomas Munro, from a report by David Fetter
Discussion: https://postgr.es/m/20170708084213.GA14720%40fetter.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1add0b15f117769f619af12720bea2f73d4f7359
Modified Files
--------------
src/backend/commands/copy.c | 2 +-
src/test/regress/expected/triggers.out | 7 ++++++-
src/test/regress/sql/triggers.sql | 7 +++++++
3 files changed, 14 insertions(+), 2 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2017-07-10 12:32:02 | pgsql: Fix check for empty hostname. |
| Previous Message | Masahiko Sawada | 2017-07-10 10:27:40 | Re: [COMMITTERS] pgsql: Allow multiple hostaddrs to go with multiple hostnames. |