Skip to content

Commit 248c268

Browse files
committed
Revert "Add more temporary debug logging, in 9.4 branch only."
This reverts commit eef1a60. It's served its purpose.
1 parent eef1a60 commit 248c268

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/backend/commands/indexcmds.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,8 +773,6 @@ DefineIndex(Oid relationId,
773773

774774
PopActiveSnapshot();
775775
PrintSnapMgrStatus("concurrent index build, after PopActiveSnapshot");
776-
elog(LOG, "concurrent index build: releasing snap %p with regd_count %d, active_count %d",
777-
snapshot, snapshot->regd_count, snapshot->active_count);
778776
UnregisterSnapshot(snapshot);
779777
PrintSnapMgrStatus("concurrent index build, after UnregisterSnapshot");
780778
InvalidateCatalogSnapshot();

src/backend/utils/time/snapmgr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,7 +1411,7 @@ PrintSnapMgrStatus(const char *context)
14111411
for (active = ActiveSnapshot; active != NULL; active = active->as_next)
14121412
asdepth++;
14131413

1414-
elog(LOG, "%s: %d reg snaps, %d active snaps, first snap %p, cat snap %p, xmin %u",
1414+
elog(LOG, "%s: %d reg snaps, %d active snaps, cat snap %p, xmin %u",
14151415
context, RegisteredSnapshots, asdepth,
1416-
FirstXactSnapshot, CatalogSnapshot, MyPgXact->xmin);
1416+
CatalogSnapshot, MyPgXact->xmin);
14171417
}

0 commit comments

Comments
 (0)