Re: PostgreSQL vs SQL/XML Standards
Chapman Flack <chap@anastigmatix.net>
From: Chapman Flack <chap@anastigmatix.net>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-03-07T16:48:32Z
Lists: pgsql-hackers
On 3/7/19 10:08 AM, Alvaro Herrera wrote: > I just pushed this one to pg12 only: >> xmltable-xmlexists-passing-mechanisms-3.patch Thanks! > I removed the words "first appears in SQL:2006" from the new doc > paragraph; we used to have similar phrases scattered here and there but > were removed years ago, on the grounds that only the most recent version > is relevant (I couldn't find the commit, though). In case there are similar qualifiers in the other patches (especially the -docfix one, there are several), while respecting that general principle, I would offer that there might be an argument for bending it some here ... ... one of the main things challenging intuition and expectation in the SQL/XML part of the standard is that there were radical changes to the 'XML' data type and the underlying data model between :2003 and :2006, and most of what's in PostgreSQL was implemented to :2003 and still conforms to that. (Being therefore, already, a bit of an exception to the "only the most recent version is relevant" principle.) So there could be good reason here to call out the distinctions when they matter here, even if in other areas of the doc the practice is not to call them out. -Chap
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