>The most obvious theory is that there are some nulls in the XT.XMLT1C1
>column. Since your code isn't bothering to check pXmlDataNulls[ix],
>it would hit a null-pointer dereference when accessing pXmlData[ix].
>
> regards, tom lane
Thx, Tom... my bad...
Regard
Garfield Lewis writes:
> I am trying to pass an array into a new function I am creating called
> lzxmlexists via the following statement:
> wdbs=# SELECT "XT"."ROWKEY" , "XT"."XMLT1C1" FROM "LZQAAS"."T642_XML_T1" "XT"
> WHERE "ROWKEY"=64201 AND lzxmlexists( ' $XTX//DeptName[ . = $Dn]',
> '