PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ gserialized_max_header_size()

uint32_t gserialized_max_header_size ( void  )
extern

Returns the size in bytes to read from toast to get the basic information from a geometry: GSERIALIZED struct, bbox and type.

Definition at line 101 of file gserialized.c.

102{
103 size_t sz1 = gserialized1_max_header_size();
104 size_t sz2 = gserialized2_max_header_size();
105 return sz1 > sz2 ? sz1 : sz2;
106}
uint32_t gserialized1_max_header_size(void)
Returns the size in bytes to read from toast to get the basic information from a geometry: GSERIALIZE...
uint32_t gserialized2_max_header_size(void)
Returns the size in bytes to read from toast to get the basic information from a geometry: GSERIALIZE...

References gserialized1_max_header_size(), and gserialized2_max_header_size().

Referenced by geometry_geometrytype(), and LWGEOM_getTYPE().

Here is the call graph for this function:
Here is the caller graph for this function: