PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ gidx_copy()

GIDX* gidx_copy ( GIDX *  b)

Definition at line 126 of file gserialized_gist_nd.c.

127 {
128  GIDX *c = (GIDX*)palloc(VARSIZE(b));
129  POSTGIS_DEBUGF(5, "copied gidx (%p) to gidx (%p)", b, c);
130  memcpy((void*)c, (void*)b, VARSIZE(b));
131  return c;
132 }

Referenced by gidx_merge(), gserialized_gist_compress(), gserialized_gist_picksplit(), gserialized_gist_picksplit_addlist(), gserialized_gist_picksplit_constructsplit(), gserialized_gist_picksplit_fallback(), gserialized_gist_union(), and spatial_index_read_extent().

Here is the caller graph for this function: