[postgis-users] Error when getting geometry as binary

Paul Ramsey pramsey at refractions.net
Sun Feb 6 17:09:24 PST 2005


What happens if you do asbinary(envelope(extent(the_geom)))?

On 6-Feb-05, at 4:59 PM, Abe Gillespie wrote:

> This statement works fine:
> SELECT extent(the_geom) from shape_table
>
> But this statement:
> SELECT asBinary(extent(the_geom)) from shape_table
> results in:
> ERROR:  invalid memory alloc request size 1074393504
>
> I'm running PostgreSQL 7.4.1 / PostGIS 0.9.1 on a Debian Linux install.
>
> Thanks.
> -Abe
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list