Fix broken XML formatting in EXPLAIN output for incremental sorts.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 23 Oct 2020 15:32:33 +0000 (11:32 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 23 Oct 2020 15:32:33 +0000 (11:32 -0400)
commite4538708d58400c8c0336ebabca0b7bdb72e0ff6
treed4a3baf3c46f1e94ca83dca71f34bf800e7b8824
parent96ed2ae9360d9b89f695f00c2b6417c4e4d9fcba
Fix broken XML formatting in EXPLAIN output for incremental sorts.

The ExplainCloseGroup arguments for incremental sort usage data
didn't match the corresponding ExplainOpenGroup.  This only matters
for XML-format output, which is probably why we'd not noticed.

Daniel Gustafsson, per bug #16683 from Frits Jalvingh

Discussion: https://postgr.es/m/16683-8005033324ad34e9@postgresql.org
src/backend/commands/explain.c