From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Voillequin, Jean-Marc" <Jean-Marc(dot)Voillequin(at)moodys(dot)com> |
Cc: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: xpath insert unexpected newlines |
Date: | 2019-04-22 19:48:38 |
Message-ID: | 23856.1555962518@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-sql |
I wrote:
> [ redirecting to pgsql-bugs ]
> "Voillequin, Jean-Marc" <Jean-Marc(dot)Voillequin(at)moodys(dot)com> writes:
>> It seems that xpath function add unexpected newlines in the xml elements it returns as array:
> I tried this:
> - bytes = xmlNodeDump(buf, NULL, cur_copy, 0, 1);
> + bytes = xmlNodeDump(buf, NULL, cur_copy, 0, 0);
> and that makes the discrepancy go away (both results are printed without
> any added whitespace).
> Thoughts?
[ crickets ]
Hearing nothing, I propose to change this in HEAD but not back-patch.
It still seems like a bug, but given the lack of previous complaints,
I'm not sure we'd get plaudits for changing this behavior in back
branches.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2019-04-22 19:51:22 | Re: amcheck assert failure |
Previous Message | Grigory Smolkin | 2019-04-22 19:48:23 | Re: amcheck assert failure |
From | Date | Subject | |
---|---|---|---|
Next Message | Max Lipsky | 2019-04-25 13:45:18 | Problem in |
Previous Message | Tom Lane | 2019-04-19 14:21:23 | Re: xpath insert unexpected newlines |