INNER CODE UNIT · C

physical

timescale/pg_textsearch · src/mod.c:2915

			physical   = index_rel->rd_rel->relkind == RELKIND_INDEX;
			background = tp_index_compaction_mode(index_rel) ==
						 TP_COMPACTION_BACKGROUND;
			relation_close(index_rel, AccessShareLock);

			if (physical && background)
			{
				tp_compaction_job_capture(indexoid, &source);
				tp_collect_managed_intent(
						indexoid,
						&source,
						NULL,
						new_lineage,
						TP_MANAGED_INTENT_RECONCILE_LINEAGE |
								TP_MANAGED_INTENT_LINEAGE_SUPPLIED |
								TP_MANAGED_INTENT_PRESERVE_SCHEDULE);
				tp_reset_compaction_identity(&source);
			}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…