INNER CODE UNIT · C
tp_reindex_states
timescale/pg_textsearch · src/mod.c:3418
tp_reindex_states = state->previous;
MemoryContextDelete(context);
}
static List *
tp_reindex_current_indexes(ReindexStmt *stmt)
{
Oid relation_oid;
relation_oid = RangeVarGetRelid(stmt->relation, AccessShareLock, false);
if (stmt->kind == REINDEX_OBJECT_INDEX)
return list_make1_oid(relation_oid);
return tp_relation_indexes_locked(relation_oid, NoLock);
}
static bool
tp_vacuum_option_enabled(VacuumStmt *stmt, const char *name)