Re: Missing quotes when deparsing XMLTABLE() and SQL/JSON query functions
Dean Rasheed <dean.a.rasheed@gmail.com>
From: Dean Rasheed <dean.a.rasheed@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2025-01-12T14:10:29Z
Lists: pgsql-hackers
On Sat, 11 Jan 2025 at 15:42, Tom Lane <tgl@sss.pgh.pa.us> wrote: > > +1, but you also need to update the xml_1.out and xml_2.out files. > IIRC, xml_1.out is what comes out without --with-libxml. > I forget what's different about xml_2.out, but you can probably > just clone the diff for xml.out and be fine. > Ah yes, I see. Thanks for that. It looks like the differences in xml_2.out were for a specific change in libxml2 behaviour that only affects error details in a small number of cases, so cloning the diffs looks like it should be fine in this case. Regards, Dean
Commits
-
Fix JsonExpr deparsing to quote variable names in the PASSING clause.
- d037cc2af14a 17.3 landed
- a93e2a1e25a6 18.0 landed
-
Fix XMLTABLE() deparsing to quote namespace names if necessary.
- 8f137f0382b1 13.19 landed
- dc8cd9cd0198 14.16 landed
- 7c0379516f36 15.11 landed
- 77763f3bef48 16.7 landed
- 61b12135f5b7 17.3 landed
- d673eefd410c 18.0 landed