BUG #16683: explain plan format xml produces invalid xml

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: jal(at)etc(dot)to
Subject: BUG #16683: explain plan format xml produces invalid xml
Date: 2020-10-23 10:26:52
Message-ID: 16683-8005033324ad34e9@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16683
Logged by: Frits Jalvingh
Email address: jal(at)etc(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Gustafsson 2020-10-23 11:12:13 Re: BUG #16683: explain plan format xml produces invalid xml
Previous Message Michael Paquier 2020-10-23 03:22:42 Re: BUG #16682: The pg_user_mapping table saves the plaintext password