PostGIS  2.5.2dev-r@@SVN_REVISION@@

◆ gserialized_gist_picksplit_addlist()

static void gserialized_gist_picksplit_addlist ( OffsetNumber *  list,
GIDX **  box_union,
GIDX *  box_current,
int *  pos,
int  num 
)
static

Definition at line 1596 of file gserialized_gist_nd.c.

References gidx_copy(), and gidx_merge().

Referenced by gserialized_gist_picksplit().

1597 {
1598  if ( *pos )
1599  gidx_merge(box_union, box_current);
1600  else
1601  {
1602  pfree(*box_union);
1603  *box_union = gidx_copy(box_current);
1604  }
1605  list[*pos] = num;
1606  (*pos)++;
1607 }
void gidx_merge(GIDX **b_union, GIDX *b_new)
GIDX * gidx_copy(GIDX *b)
Here is the call graph for this function:
Here is the caller graph for this function: