Re: PostgreSQL vs SQL/XML Standards
Chapman Flack <chap@anastigmatix.net>
From: Chapman Flack <chap@anastigmatix.net>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Markus Winand <markus.winand@winand.at>,
Alvaro Herrera <alvherre@2ndquadrant.com>, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2019-01-26T00:37:48Z
Lists: pgsql-hackers
Attachments
- xmltable-xpath-result-processing-bugfix-5.patch (text/x-patch) patch
- xmltable-xmlexists-passing-mechanisms-2.patch (text/x-patch) patch
- xml-functions-type-docfix-1.patch (text/x-patch) patch
On 01/25/19 00:45, Pavel Stehule wrote: > pá 25. 1. 2019 v 5:46 odesílatel Chapman Flack <chap@anastigmatix.net> > napsal: >> I am: >> - re-attaching xmltable-xpath-result-processing-bugfix-5.patch unchanged >> (just so CF app does not lose track) >> - re-attaching xmltable-xmlexists-passing-mechanisms-1.patch unchanged >> - attaching for the first time xml-functions-type-docfix-1.patch >> >> The doc patch is made to go on top of the passing-mechanisms patch Realized xmltable-xmlexists-passing-mechanisms-1.patch didn't add a regression test. Here attaching (or re-attaching): - xmltable-xpath-result-processing-bugfix-5.patch - unchanged - xmltable-xmlexists-passing-mechanisms-2.patch - now with test - xml-functions-type-docfix-1.patch - unchanged I'll venture a review opinion that all of this applies, builds, and passes check-world on top of 18c0da8, and that, of the issues I had identified at the start of this thread, these changes resolve the ones they set out to resolve. But the second two patches are my own work, so another reviewer is needed. The passing-mechanisms patch is tiny while the docfix patch is not, so there's an opening for a reviewer with an interest in documentation. :) There is still nothing in this patch set to address [1], though that also seems worth doing, perhaps in another patch, and probably not difficult, perhaps needing only a regex. And of course we're still saddled with all the unfixable limits of XPath 1.0; this patch set is fixing a few peripheral fixable things around that. -Chap [1] https://www.postgresql.org/message-id/5BD1C44B.6040300%40anastigmatix.net
Commits
-
Improve documentation about our XML functionality
- 728c49779ba8 11.6 landed
- 603a28b44973 10.11 landed
-
Improve documentation about our XML functionality.
- 12d46ac392d0 12.0 landed
-
Add volatile qualifier missed in commit 2e616dee9.
- b2b819019f44 12.0 landed
-
Fix crash with old libxml2
- 2e616dee9e60 12.0 landed
-
Fix minor deficiencies in XMLTABLE, xpath(), xmlexists()
- 251cf2e27bec 12.0 cited
-
Fix the BY {REF,VALUE} clause of XMLEXISTS/XMLTABLE
- eaaa5986ad03 12.0 landed
-
doc: Update README.links
- b060e6c1f5b4 12.0 landed
-
XPath fixes:
- 3963574d1338 8.3.0 cited