[postgis-users] Bug in astext?

David Blasby dblasby at refractions.net
Tue Dec 17 15:09:20 PST 2002


Luis Mota wrote:

> Hi Dave.
>
> Any news on this subject?
>
> I sent you a simple example like
>
> select astext(geom)||'other text' from location;

I know exactly what's happening - I just need an hour or so to make the change.

Remember I said that the TEXT object is like a pascal string (size, then the
characters), while cstrings are null terminated?  Well, I was making
null-terminated TEXT objects.  D'oh.

I just have to change the code that adds the null termination and it will be
fixed.

dave




More information about the postgis-users mailing list