[postgis-users] Cast boolean to text

Pete Deffendol pete at mdsc.com
Wed Oct 17 13:37:17 PDT 2007


Hi,

After suddenly receiving errors in my Mapserver install, I tracked the 
problem down to a missing cast from boolean to text type.  In earlier 
releases of PostGIS (1.2.x), the lwpostgis.sql file did the following:

CREATE CAST (bool AS text) WITH FUNCTION ST_text(bool) AS IMPLICIT;

In version 1.3.1, this line is commented out of lwpostgis.sql.  I can't 
find any reference to the change in the Changelog.  Was it disabled for 
any particular reason?

Pete

-- 
Pete Deffendol
Software Engineer
Multimedia Data Services Corp.
pete at mdsc.com




More information about the postgis-users mailing list