INNER CODE UNIT · C
lineages
timescale/pg_textsearch · src/mod.c:2366
lineages = lappend(lineages, intent->lineage);
}
list_sort(lineages, tp_lineage_cmp);
foreach (lc, lineages)
{
if (!tp_try_lock_compaction_lineage(lfirst(lc)))
ereport(ERROR,
(errcode(ERRCODE_LOCK_NOT_AVAILABLE),
errmsg("could not validate background compaction "
"lineage"),
errdetail(
"A requested lineage is concurrently "
"locked."),
errhint("Retry the command after the conflicting "
"transaction completes.")));
}
foreach (lc, locked)
{