diff options
author | Dean Rasheed <dean.a.rasheed@gmail.com> | 2023-02-22 09:41:28 +0000 |
---|---|---|
committer | Dean Rasheed <dean.a.rasheed@gmail.com> | 2023-02-22 09:41:28 +0000 |
commit | 018af1cc1c8075346e6a5fe3bb77b7e31399be70 (patch) | |
tree | 1585eadced83b2d84d4a8f3cf7dc0b7ab2c2ce70 /src/backend/executor/nodeWorktablescan.c | |
parent | fa5dd460c1805a00a6fcc909b7e1f826663bcce3 (diff) | |
download | postgresql-018af1cc1c8075346e6a5fe3bb77b7e31399be70.tar.gz postgresql-018af1cc1c8075346e6a5fe3bb77b7e31399be70.zip |
Fix MERGE command tag for cross-partition updates.
This ensures that the row count in the command tag for a MERGE is
correctly computed. Previously, if MERGE updated a partitioned table,
the row count would be incorrect if any row was moved to a different
partition, since such updates were counted twice.
Back-patch to v15, where MERGE was introduced.
Discussion: https://postgr.es/m/CAEZATCWRMG7XX2QEsVL1LswmNo2d_YG8tKTLkpD3=Lp644S7rg@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeWorktablescan.c')
0 files changed, 0 insertions, 0 deletions