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