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>
Date: 2019-01-25T04:46:29Z
Lists: pgsql-hackers
Attachments
- xmltable-xpath-result-processing-bugfix-5.patch (text/x-patch) patch
- xmltable-xmlexists-passing-mechanisms-1.patch (text/x-patch) patch
- xml-functions-type-docfix-1.patch (text/x-patch) patch
Hi, On 01/21/19 01:33, Pavel Stehule wrote: > ne 20. 1. 2019 23:13 odesílatel Chapman Flack <chap@anastigmatix.net> > napsal: >> form (whether or not the word LATERAL is used), and re-executes xmltable >> whenever the referenced column value changes. In that case, whether the >> default argument is evaluated at function entry or later doesn't seem >> to matter: the function is re-executed, so evaluating the new default >> at the time of entry is sufficient. > > it has sense only for volatile functions. it was not often. On second hand > deferred evaluation shoul not be a problem, and more, it is evaluated only > when it is necessary, what is more sensible for me. That makes sense. I trimmed the language about input rows and referring to earlier columns, and put more emphasis on the usefulness of evaluating volatile functions only when needed. 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 (there were some doc changes in passing-mechanisms, changed again in the new patch to be links to the added Limits and Compatibility section). I hope the patched docs describe accurately what we have at this point. Regards, -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