[postgis-devel] trunk regress fails

strk strk at keybit.net
Tue Aug 11 09:18:37 PDT 2009


On Wed, Aug 05, 2009 at 10:01:31AM +0100, Mark Cave-Ayland wrote:
> Kevin Neufeld wrote:

> >ERROR:  cannot cast type text to cstring
> >LINE 4:   CAST('quad_segs='||CAST($3 AS text) as cstring))
> 
> Hmmmm looks like this was introduced by strk's new buffer code. If we 
> ask him nicely, will he fix it? ;)

I remember a similar problem with 8.3, which forced me to cast
as 'text' first and 'cstring' second (direct casting wasn't supported).
I'm afraid it'll take some pg-version-specific macro to fix this.
I can only test 8.3.7 atm, if anyone provides a fix for older
I will try there.

--strk;

 Free GIS & Flash consultant/developer      ()  ASCII Ribbon Campaign
 http://foo.keybit.net/~strk/services.html  /\  Keep it simple! 



More information about the postgis-devel mailing list