Commit Graph

37 Commits (ec0294fb2c8287fd673c57701cdcf6c6396b2f60)

Author SHA1 Message Date
Tom Lane 592a16321b Avoid failure when selecting a namespace node in XMLTABLE. 6 years ago
Tom Lane 8d1dadb25b Accept XML documents when xmloption = content, as required by SQL:2006+. 7 years ago
Alvaro Herrera 251cf2e27b Fix minor deficiencies in XMLTABLE, xpath(), xmlexists() 7 years ago
Alvaro Herrera e474c2b7e4 Set correct context for XPath evaluation 8 years ago
Alvaro Herrera b7f0be9a7e Accept TEXT and CDATA nodes in XMLTABLE's column_expression. 8 years ago
Noah Misch 4b865aee25 Fix previous commit's test, for non-UTF8 databases with non-XML builds. 8 years ago
Noah Misch 2918fcedbf Ignore XML declaration in xpath_internal(), for UTF8 databases. 8 years ago
Alvaro Herrera fcec6caafa Support XMLTABLE query expression 9 years ago
Kevin Grittner e2f1765ce0 Remove xmlparse(document '') test 10 years ago
Peter Eisentraut 79af9a1d26 Fix namespace handling in xpath function 11 years ago
Peter Eisentraut 57b1085df5 Allow empty content in xml type 12 years ago
Tom Lane 17351fce4e Prevent access to external files/URLs via XML entity references. 14 years ago
Tom Lane 0ce7676aa0 Make xpath() do something useful with XPath expressions that return scalars. 15 years ago
Tom Lane aaf15e5c1c Ensure that xpath() escapes special characters in string values. 15 years ago
Tom Lane cacd42d62c Rewrite libxml error handling to be more robust. 15 years ago
Tom Lane a0b7b717a4 Add xml_is_well_formed, xml_is_well_formed_document, xml_is_well_formed_content 16 years ago
Tom Lane 4dfc457854 Add an xpath_exists() function. This is equivalent to XMLEXISTS except that 16 years ago
Peter Eisentraut 641459f269 Add xmlexists function 16 years ago
Peter Eisentraut 9b7304bc25 Fix xmlattribute escaping XML special characters twice (bug #4822). 17 years ago
Peter Eisentraut 77d67a4a3b XMLATTRIBUTES() should send the attribute values through 17 years ago
Peter Eisentraut 8aad333f8f Fix crash of xmlconcat(NULL) 17 years ago
Peter Eisentraut 8db43db01e Allow XML processing instructions starting with "xml" while prohibiting 18 years ago
Peter Eisentraut 3963574d13 XPath fixes: 19 years ago
Bruce Momjian ea3b212fee Commit newest version of xmlpath(). 19 years ago
Bruce Momjian e651bcf3f6 Add xmlpath() to evaluate XPath expressions, with namespaces support. 19 years ago
Tom Lane eecbb33267 Add ORDER BY to a query on information_schema.views, to avoid possible 19 years ago
Peter Eisentraut ec020e1ceb Implement XMLSERIALIZE for real. Analogously, make the xml to text cast 19 years ago
Peter Eisentraut 22bd156ff0 Various fixes in the logic of XML functions: 19 years ago
Peter Eisentraut b4c8d49036 Fix xmlconcat by properly merging the XML declarations. Add aggregate 19 years ago
Peter Eisentraut 4b48ad4fb2 Add support for converting binary values (i.e. bytea) into xml values, 19 years ago
Peter Eisentraut 2f8f76bcd5 Add support for xmlval IS DOCUMENT expression. 19 years ago
Peter Eisentraut fc568b9d8f Allow for arbitrary data types as content in XMLELEMENT. The original 19 years ago
Peter Eisentraut 3a32ba2f3f Prevent duplicate attribute names in XMLELEMENT. 19 years ago
Peter Eisentraut d807c7ef3f Some fine-tuning of xmlpi in corner cases: 19 years ago
Peter Eisentraut 19749fb0cf Replace xmlroot with a properly functioning version that parses the value, 19 years ago
Peter Eisentraut d9e1c97feb Handle content and document options in xmlparse() correctly. 19 years ago
Peter Eisentraut 8c1de5fb00 Initial SQL/XML support: xml data type and initial set of functions. 19 years ago