Commit Graph

222 Commits (cc2ac0e6f99e4efc3ae5710010ff35e646990a60)

Author SHA1 Message Date
Tom Lane f24605e2dc Fix memory leak in XMLSERIALIZE(... INDENT). 7 months ago
Bruce Momjian 50e6eb731d Update copyright for 2025 12 months ago
Tom Lane bf9165bb0c Declare a couple of variables inside not outside a PG_TRY block. 1 year ago
Peter Eisentraut 7f798aca1d Remove useless casts to (void *) 1 year ago
Tom Lane cd838e2008 Neaten up our choices of SQLSTATEs for XML-related errors. 1 year ago
Tom Lane d5622acb32 Replace usages of xmlXPathCompile() with xmlXPathCtxtCompile(). 1 year ago
Tom Lane bccca780ee Fix some whitespace issues in XMLSERIALIZE(... INDENT). 1 year ago
Tom Lane e7192486dd Suppress "chunk is not well balanced" errors from libxml2. 1 year ago
Tom Lane 6082b3d5d3 Use xmlParseInNodeContext not xmlParseBalancedChunkMemory. 1 year ago
Tom Lane 066e8ac6ea Use xmlAddChildList not xmlAddChild in XMLSERIALIZE. 1 year ago
Daniel Gustafsson b783186515 Add destroyStringInfo function for cleaning up StringInfos 2 years ago
Peter Eisentraut dbbca2cf29 Remove unused #include's from backend .c files 2 years ago
Tom Lane 400928b83b Fix incompatibilities with libxml2 >= 2.12.0. 2 years ago
Michael Paquier f2743a7d70 Revert "Add support for parsing of large XML data (>= 10MB)" 2 years ago
Michael Paquier 2197d06224 Add support for parsing of large XML data (>= 10MB) 2 years ago
Alvaro Herrera 5850253973
struct XmlTableRoutine: use C99 designated initializers 2 years ago
Bruce Momjian 29275b1d17 Update copyright for 2024 2 years ago
Daniel Gustafsson 526fe0d799 Add XMLText function (SQL/XML X038) 2 years ago
Tom Lane f73fa5a470 Don't crash if cursor_to_xmlschema is used on a non-data-returning Portal. 2 years ago
Tom Lane 0245f8db36 Pre-beta mechanical code beautification. 3 years ago
Tom Lane 483bdb2afe Support [NO] INDENT option in XMLSERIALIZE(). 3 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
Tom Lane c4939f1215 Clean up dubious error handling in wellformed_xml(). 3 years ago
Tom Lane 37bef842f5 Convert xml_in to report errors softly. 3 years ago
Michael Paquier d9d873bac6 Clean up some inconsistencies with GUC declarations 3 years ago
Peter Eisentraut b1099eca8f Remove AssertArg and AssertState 3 years ago
Peter Geoghegan a601366a46 Harmonize more parameter names in bulk. 3 years ago
Peter Eisentraut 6bcda4a721 Fix incorrect uses of Datum conversion macros 3 years ago
Peter Eisentraut d746021de1 Add construct_array_builtin, deconstruct_array_builtin 4 years ago
Peter Eisentraut 708007dced Remove error message hints mentioning configure options 4 years ago
Tom Lane 068739fb4f Fix incorrect xmlschema output for types timetz and timestamptz. 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Peter Eisentraut f9ea296031 Make use of PG_INT64_MAX/PG_INT64_MIN 4 years ago
Peter Eisentraut ae03a7c739 Remove some unnecessary casts in format arguments 4 years ago
Peter Eisentraut ec6e70c79f Refactor some error messages for easier translation 5 years ago
Michael Paquier b49154b3b7 Simplify some comments in xml.c 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Tom Lane a6525588b7 Allow Unicode escapes in any server encoding, not only UTF-8. 6 years ago
Tom Lane 3ed2005ff5 Introduce macros for typalign and typstorage constants. 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Peter Eisentraut 581a55889b Fix nested error handling in PG_FINALLY 6 years ago
Michael Paquier 3feb6ace7c Check after errors of SPI_execute() in xml.c 6 years ago
Peter Eisentraut a63c84e59a Fix some compiler warnings on older compilers 6 years ago
Peter Eisentraut 604bd36711 PG_FINALLY 6 years ago
Michael Paquier 66bde49d96 Fix inconsistencies and typos in the tree, take 10 6 years ago
David Rowley 1e6a759838 Use appendBinaryStringInfo in more places where the length is known 7 years ago
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12. 7 years ago
Tom Lane c06e3550dc Don't request pretty-printed output from xmlNodeDump(). 7 years ago
Tom Lane b2b819019f Add volatile qualifier missed in commit 2e616dee9. 7 years ago
Tom Lane f778e537a0 Remove inadequate check for duplicate "xml" PI. 7 years ago