Re: [BUG?] XMLSERIALIZE( ... INDENT) won't work with blank nodes

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jim Jones <jim.jones@uni-muenster.de>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Pavel Stehule <pavel.stehule@gmail.com>
Date: 2024-09-10T20:24:43Z
Lists: pgsql-hackers
Jim Jones <jim.jones@uni-muenster.de> writes:
> [ xmlserialize patches ]

Pushed with minor editorialization.  Notably, I got rid of scribbling
on xmlBufferContent's buffer --- I don't know how likely that is to
upset libxml2, but it seems like a fairly bad idea given that they
declare the result as "const xmlChar*".  Casting away the const is
poor form in any case.

			regards, tom lane



Commits

  1. Fix some whitespace issues in XMLSERIALIZE(... INDENT).