Commit Graph

95 Commits (1012492bc0bfb322d59db17e17735d17d634e264)

Author SHA1 Message Date
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
Magnus Hagander d672ea6ffa Turn xmlbinary and xmloption GUC variables into enumsTurn xmlbinary and 18 years ago
Tom Lane 220db7ccd8 Simplify and standardize conversions between TEXT datums and ordinary C 18 years ago
Tom Lane 32b58d0220 Fix various infelicities that have snuck into usage of errdetail() and 18 years ago
Tom Lane 3bf822c4d7 Disable the undocumented xmlvalidate() function, which was unintentionally 18 years ago
Tom Lane ac12412ede Revise memory management for libxml calls. Instead of keeping libxml's data 18 years ago
Tom Lane 1bbf8706ae It turns out the LIBXML_TEST_VERSION macro calls xmlInitParser(). 18 years ago
Neil Conway 5217663372 Fix two places in xml.c that neglected to check the return values of 18 years ago
Neil Conway 25b7583f67 Minor perf tweak for _SPI_strdup(): if we're going to call strlen() 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Peter Eisentraut 96ee6ff502 Fix XML Schema structure for char types without length (bug #3782) 18 years ago
Tom Lane 66d7bbf674 Suppress compiler warning. 18 years ago
Peter Eisentraut 7888b52076 Make casts from xml to text independent of the XML option setting, thus 18 years ago
Peter Eisentraut a999ff63ff Use double quotes for quoting xml attributes. 18 years ago
Tom Lane d23ba77a44 Fix bogus length calculation that could lead to crash if the string 18 years ago
Bruce Momjian f6e8730d11 Re-run pgindent with updated list of typedefs. (Updated README should 18 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Tom Lane 2b477a2c73 Add missing closing / in xsd:restriction, and remove some unnecessary 18 years ago
Tom Lane d2d52bbb55 xmlGetUTF8Char()'s second argument is both input and output. Fix 18 years ago
Peter Eisentraut 8db43db01e Allow XML processing instructions starting with "xml" while prohibiting 18 years ago
Peter Eisentraut 4c726d5c11 After conferencing again with Bruce, put in more accurate XML error message. 18 years ago
Peter Eisentraut 79cff6bc7e Improve error message 18 years ago
Tom Lane 5e51297104 Some code review for xml.c: 18 years ago
Tom Lane 85f807d782 Fix xmlelement() to initialize libxml correctly before using it, and to avoid 18 years ago
Tom Lane ff1de5cef6 Guard against possible double free during error escape from XML 18 years ago
Tom Lane 8468146b03 Fix the inadvertent libpq ABI breakage discovered by Martin Pitt: the 18 years ago
Tom Lane f71c7b9dfd Fix bugs in XML binary I/O functions. Heikki and Tom 19 years ago
Tom Lane 39f06dcad6 Fix map_sql_typecoll_to_xmlschema_types() to not fail on dropped 19 years ago