]> granicus.if.org Git - postgresql/commit
Fix bug in original implementation of xmlserialize(): if user specifies
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 Aug 2008 17:27:50 +0000 (17:27 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 Aug 2008 17:27:50 +0000 (17:27 +0000)
commit3c3fb2160c4ff51520c9cb12b8a48c61b44cfb3e
treed8c0de254b980963117c5dc1c8c1b7eee558f4fe
parenta9ff5f07229039cbbef813b7384a35af88058f46
Fix bug in original implementation of xmlserialize(): if user specifies
a target type that isn't acceptable, the code failed to raise the proper
error.  The result instead was to return a NULL expression tree, which
in a quick test led to a 'cache lookup failed for type 0' error later.

Patch 8.3 only --- I fixed this in HEAD as part of recent locations patch.
src/backend/parser/parse_expr.c