Name
ST_Mem_Size — Returns the amount of space (in bytes) the geometry
takes.
Synopsis
integer ST_Mem_Size(
bytea
Geometry)
;
Description
Returns the amount of space (in bytes) the geometry takes.
Coordinate Dimensions
Spatial Standards Support
Examples
SELECT ST_Mem_Size(ST_GeomFromText('LINESTRING (1 1, 2 3, 3 2, 4 4)'));
--Result
73