BUG #4058: xml_table() segfaults on null

Started by Frank F.about 18 years ago2 messagesbugs
Jump to latest
#1Frank F.
merreborn@yahoo.com

The following bug has been logged online:

Bug reference: 4058
Logged by: Frank F.
Email address: merreborn@yahoo.com
PostgreSQL version: 8.2.5-2PGDG
Operating system: Centos
Description: xml_table() segfaults on null
Details:

The xml_table() function in the xml2 contrib module causes a segfault in
postgres 8.2.5 if it encounters a null value in the column that it's trying
to pull XML data from.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Frank F. (#1)
Re: BUG #4058: xml_table() segfaults on null

"Frank F." <merreborn@yahoo.com> writes:

The xml_table() function in the xml2 contrib module causes a segfault in
postgres 8.2.5 if it encounters a null value in the column that it's trying
to pull XML data from.

Seems to have been broken since day one :-(. Will fix.

regards, tom lane