"Kenneth Chan" <kkchan(at)technologist(dot)com> writes:
> ... Turned out that npts of the
> polygon retrieved from the table is 0 (the other polygon is a constant
> and its attributes are correct). I suspect the feature might
> affect other functions that uses polygons->npts like poly_contain.
> Would anyone happens to know the identity of the offending
> function might be? TIA
No, but if you can post an example demonstrating the problem, I'm sure
we can find it...
regards, tom lane