INNER CODE UNIT · C
old_context
timescale/pg_textsearch · src/mod.c:3092
old_context = MemoryContextSwitchTo(state->context);
target = palloc0(sizeof(*target));
if (!tp_reindex_target_capture(state, indexoid, target))
{
pfree(target);
MemoryContextSwitchTo(old_context);
continue;
}
foreach (target_cell, state->targets)
{
if (tp_reindex_target_equals(lfirst(target_cell), target))
{
duplicate = true;
break;
}
}
if (duplicate)
{