BUG #16683: explain plan format xml produces invalid xml - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16683: explain plan format xml produces invalid xml
Date
Msg-id 16683-8005033324ad34e9@postgresql.org
Whole thread Raw
Responses Re: BUG #16683: explain plan format xml produces invalid xml  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16683
Logged by:          Frits Jalvingh
Email address:      jal@etc.to
PostgreSQL version: 13.0
Operating system:   Ubuntu 20.04
Description:

I am running an explain plan:
explain (format xml,analyze,costs,verbose,timing,buffers) .....
The result contains the following part which is invalid XML:

                    <Incremental-Sort-Groups>
                        <Group-Count>4</Group-Count>
                        <Sort-Methods-Used>
                            <Item>quicksort</Item>
                        </Sort-Methods-Used>
                        <Sort-Space>
                            <Average-Sort-Space-Used>30</Average-Sort-Space-Used>
                            <Peak-Sort-Space-Used>30</Peak-Sort-Space-Used>
                        </Sort-Spaces>
                    </Incremental-Sort-Groups>
Sort-Space is incorrectly finished with /Sort-Spaces


pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: BUG #16682: The pg_user_mapping table saves the plaintext password
Next
From: Daniel Gustafsson
Date:
Subject: Re: BUG #16683: explain plan format xml produces invalid xml