aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2015-01-06 23:06:13 -0500
committerPeter Eisentraut <peter_e@gmx.net>2015-01-06 23:06:13 -0500
commit79af9a1d2668c9edc8171f03c39e7fed571eeb98 (patch)
treefc2aa5dce1ff0eca8adae6270d1b385714a40d27 /src/backend/access/transam/xlog.c
parent3fabed070530271771c2345dd7f60b0b28f0aae3 (diff)
downloadpostgresql-79af9a1d2668c9edc8171f03c39e7fed571eeb98.tar.gz
postgresql-79af9a1d2668c9edc8171f03c39e7fed571eeb98.zip
Fix namespace handling in xpath function
Previously, the xml value resulting from an xpath query would not have namespace declarations if the namespace declarations were attached to an ancestor element in the input xml value. That means the output value was not correct XML. Fix that by running the result value through xmlCopyNode(), which produces the correct namespace declarations. Author: Ali Akbar <the.apaan@gmail.com>
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions