Commit Graph

222 Commits (cc2ac0e6f99e4efc3ae5710010ff35e646990a60)

Author SHA1 Message Date
Tom Lane 17351fce4e Prevent access to external files/URLs via XML entity references. 14 years ago
Peter Eisentraut a84bf4922e Avoid extra newlines in XML mapping in table forest mode 14 years ago
Bruce Momjian 927d61eeff Run pgindent on 9.2 source tree in preparation for first 9.3 14 years ago
Peter Eisentraut eb990a2b9e Add const qualifier to tzn returned by timestamp2tm() 14 years ago
Peter Eisentraut ad4fb0d0d2 Improve EncodeDateTime and EncodeTimeOnly APIs 14 years ago
Peter Eisentraut 973e9fb294 Add const qualifiers where they are accidentally cast away 14 years ago
Bruce Momjian e126958c2e Update copyright notices for year 2012. 14 years ago
Peter Eisentraut 1b81c2fe6e Remove many -Wcast-qual warnings 14 years ago
Tom Lane c1420fcf7d Check to see whether libxml2 handles error context the way we expect. 15 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 1af37ec96d Replace errdetail("%s", ...) with errdetail_internal("%s", ...). 15 years ago
Alvaro Herrera b93f5a5673 Move Trigger and TriggerDesc structs out of rel.h into a new reltrigger.h 15 years ago
Tom Lane 5e1365a965 Fix null-dereference crash in parse_xml_decl(). 15 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago
Bruce Momjian 5d950e3b0c Stamp copyrights for year 2011. 15 years ago
Peter Eisentraut fc946c39ae Remove useless whitespace at end of lines 15 years ago
Tom Lane 529cb267a6 Improve handling of domains over arrays. 15 years ago
Peter Eisentraut 3cde44374a Change references to SQL/XML:2003 to :2008 and renumber sections accordingly 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 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
Bruce Momjian 239d769e7e pgindent run for 9.0, second run 16 years ago
Tom Lane 8bf14182cf Export xml.c's libxml-error-handling support so that contrib/xml2 can use it 16 years ago
Robert Haas e26c539e9f Wrap calls to SearchSysCache and related functions using macros. 16 years ago
Bruce Momjian 0239800893 Update copyright for the year 2010. 16 years ago
Heikki Linnakangas 237859e4fb Fix encoding handling in xml binary input function. If the XML header didn't 17 years ago
Tom Lane 9bd27b7c9e Extend EXPLAIN to support output in XML or JSON format. 17 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Tom Lane 0dcc73fea4 Ensure xmlFree(NULL) is a no-op instead of a core dump. Per report from 17 years ago
Peter Eisentraut 9b7304bc25 Fix xmlattribute escaping XML special characters twice (bug #4822). 17 years ago
Peter Eisentraut c773ec6b15 Fix map_sql_table_to_xmlschema() with dropped attributes. 17 years ago
Tom Lane 23543c732b Rewrite xml.c's memory management (yet again). Give up on the idea of 17 years ago
Tom Lane 546454f8a3 Fix intratransaction memory leaks in xml_recv, xmlconcat, xmlroot, and 17 years ago
Peter Eisentraut 77d67a4a3b XMLATTRIBUTES() should send the attribute values through 17 years ago
Tom Lane fc92450e7d Add an errdetail explaining why we reject infinite dates and timestamps 17 years ago
Andrew Dunstan c9cab106f6 Remove munging of xml and xpath params to xpath(). The XML must now be a well formed XML document. 17 years ago
Tom Lane 1cfd9e8834 Fix executor/spi.h to follow our usual conventions for include files, ie, 17 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 17 years ago
Tom Lane 5e11e73d37 Fix bugs in sqlchar_to_unicode and unicode_to_sqlchar: both were measuring 17 years ago
Peter Eisentraut 06735e3256 Unicode escapes in strings and identifiers 17 years ago
Tom Lane a303e4dc43 Extend the date type to support infinity and -infinity, analogously to 17 years ago
Tom Lane 1b0f58a9ce Fix crash in bytea-to-XML mapping when the source value is toasted. 17 years ago
Tom Lane 8948ee37e5 Fix multiple memory leaks in xml_out(). Per report from Matt Magoffin. 18 years ago
Tom Lane e5536e77a5 Move exprType(), exprTypmod(), expression_tree_walker(), and related routines 18 years ago
Tom Lane c5f4b98fae Fix transaction-lifespan memory leak in xpath(). Report by Matt Magoffin, 18 years ago
Alvaro Herrera f8c4d7db60 Restructure some header files a bit, in particular heapam.h, by removing some 18 years ago
Tom Lane 45173ae24e Use new cstring/text conversion functions in some additional places. 18 years ago