BUG #16683: explain plan format xml produces invalid xml

Поиск
Список
Период
Сортировка
Искать

BUG #16683: explain plan format xml produces invalid xml

От:
PG Bug reporting form <noreply@postgresql.org>
Дата:
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:

					
						4
						
							quicksort
						
						
							30
							30
						
					
Sort-Space is incorrectly finished with /Sort-Spaces

Re: BUG #16683: explain plan format xml produces invalid xml

От:
Daniel Gustafsson <daniel@yesql.se>
Дата:
Вложения:
> On 23 Oct 2020, at 12:26, PG Bug reporting form  wrote:

> Sort-Space is incorrectly finished with /Sort-Spaces

Nice catch, it was introduced in the Incremental Sort patch, both for disk and
memory type sorts as per the attached (unless the opening of the group was
supposed to be "Sort Spaces" but singular seems the right choice here). 

cheers ./daniel

Re: BUG #16683: explain plan format xml produces invalid xml

От:
Frits Jalvingh <jal@etc.to>
Дата:
Thanks a lot for fixing it!

On Fri, Oct 23, 2020 at 1:12 PM Daniel Gustafsson <daniel@yesql.se> wrote:
> On 23 Oct 2020, at 12:26, PG Bug reporting form <noreply@postgresql.org> wrote:

> Sort-Space is incorrectly finished with /Sort-Spaces

Nice catch, it was introduced in the Incremental Sort patch, both for disk and
memory type sorts as per the attached (unless the opening of the group was
supposed to be "Sort Spaces" but singular seems the right choice here).

cheers ./daniel

Re: BUG #16683: explain plan format xml produces invalid xml

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Daniel Gustafsson  writes:
>> On 23 Oct 2020, at 12:26, PG Bug reporting form  wrote:
>> Sort-Space is incorrectly finished with /Sort-Spaces

> Nice catch, it was introduced in the Incremental Sort patch, both for disk and
> memory type sorts as per the attached (unless the opening of the group was
> supposed to be "Sort Spaces" but singular seems the right choice here). 

Agreed.  Will push in a bit.

			regards, tom lane


FAQ