[postgis-users] Error when getting geometry as binary

Abe Gillespie agillesp at vt.edu
Sun Feb 6 19:09:43 PST 2005


That succeeds fine.  Know what the problem is then?

-Abe

On Feb 6, 2005, at 8:09 PM, Paul Ramsey wrote:

> 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
>
> _______________________________________________
> 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