Fix EXPLAIN MERGE output when no tuples are processed
Alvaro Herrera <alvherre@alvh.no-ip.org>
Fix EXPLAIN MERGE output when no tuples are processed An 'else' clause was misplaced in commit 598ac10be1c2, making zero-rows output look a bit silly. Add a test case for it. Pointed out by Tom Lane. Discussion: https://postgr.es/m/21030.1652893083@sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/explain.c | modified | +15 −12 |
| src/test/regress/expected/merge.out | modified | +19 −1 |
| src/test/regress/sql/merge.sql | modified | +7 −1 |
Discussion
- support for MERGE 136 messages · 2020-12-31 → 2022-09-09