aboutsummaryrefslogtreecommitdiff
path: root/contrib/xml2/xpath.c
Commit message (Collapse)AuthorAge
...
* pgindent run for 8.2.Bruce Momjian2006-10-04
|
* Rename xml_valid() to xml_is_well_formed(), but provide a temporaryTom Lane2006-09-16
| | | | | | alias with the old name for backwards compatibility. Per discussion, the old name is actively wrong because validity and well-formedness have different meanings in XML.
* Move xml2's PG_MODULE_MAGIC block to the right source file, per Michael Fuhr.Tom Lane2006-09-11
|
* Remove CXT_printf/CXT1_printf macros. If anyone had found them to be ofTom Lane2006-05-23
| | | | | | | | | any use in the past many years, we'd have made some effort to include them in all executor node types; but in fact they were only in nodeAppend.c and nodeIndexscan.c, up until I copied nodeIndexscan.c's occurrence into the new bitmap node types. Remove some other unused macros in execdebug.h, too. Some day the whole header probably ought to go away in favor of better-designed facilities.
* Attached is a patch that replaces a bunch of places where StringInfosNeil Conway2006-03-01
| | | | | | | | | | | | | are unnecessarily allocated on the heap rather than the stack. If the StringInfo doesn't outlive the stack frame in which it is created, there is no need to allocate it on the heap via makeStringInfo() -- stack allocation is faster. While it's not a big deal unless the code is in a critical path, I don't see a reason not to save a few cycles -- using stack allocation is not less readable. I also cleaned up a bit of code along the way: moved variable declarations into a more tightly-enclosing scope where possible, fixed some pointless copying of strings in dblink, etc.
* This patch makes the error message strings throughout the backendNeil Conway2006-03-01
| | | | | | | | more compliant with the error message style guide. In particular, errdetail should begin with a capital letter and end with a period, whereas errmsg should not. I also fixed a few related issues in passing, such as fixing the repeated misspelling of "lexeme" in contrib/tsearch2 (per Tom's suggestion).
* Standard pgindent run for 8.1.Bruce Momjian2005-10-15
|
* Fix inadequate error checking: you can't assume that fcinfo->resultinfoTom Lane2005-07-09
| | | | is a ReturnSetInfo unless you've tested it with IsA.
* Fix segfault when xpath_list function is applied to an invalid document.Tom Lane2005-01-09
| | | | John Gray
* Attached is a patch that adds the function xml_encode_special_chars toBruce Momjian2004-12-02
| | | | | | | the xml2 contrib module. It's against 8.0beta4. It's intended for commit. Markus Bertheau <twanger@bluetwanger.de>
* Cleanup some unnecessary void * casts when using pfree() in contrib/xmlNeil Conway2004-10-13
| | | | and contrib/xml2
* Pgindent run for 8.0.Bruce Momjian2004-08-29
|
* contrib/xml2 updates from John Gray:Neil Conway2004-03-07
| | | | | | I have changed the name of the new parse function to xml_valid and fixed a reference to SortMem which meant that the code as supplied would work against 7.3 and 7.4 but wouldn't work in CVS.
* Move new version of contrib/ xml into xml2, keep old version in /xml.Bruce Momjian2004-03-05