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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Subject: Re: [BUG?] XMLSERIALIZE( ... INDENT) won't work with blank nodes
Date: 2024-09-10 20:24:43
Message-ID: 3656035.1725999883@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jim Jones <jim(dot)jones(at)uni-muenster(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2024-09-10 20:33:59 Re: Speeding up ruleutils' name de-duplication code, redux
Previous Message Tom Lane 2024-09-10 20:17:54 Re: Document DateStyle effect on jsonpath string()