Don't mangle xml and xpath unless xml is not in fact a well-formed document, in xpath...
authorAndrew Dunstan <andrew@dunslane.net>
Sat, 28 Feb 2009 19:13:28 +0000 (19:13 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Sat, 28 Feb 2009 19:13:28 +0000 (19:13 +0000)
commit41d1b881d2dab1ff88a66c1ed98db848fb531bc4
treeb803a48962d53199f1c55f8befd98ba169d25b7d
parent1fc3e841e1f3b93ea173700b51fcd555be4742ad
Don't mangle xml and xpath unless xml is not in fact a well-formed document, in xpath(). If mangling xpath, make a saner attempt where xpath expression does not begin with '/'.
src/backend/utils/adt/xml.c