Revert "Add more temporary debug logging, in 9.4 branch only."

This reverts commit eef1a609adfd0c41361aac2e04020bd199fb61fb.
It's served its purpose.
This commit is contained in:
Tom Lane 2018-04-18 11:56:56 -04:00
parent eef1a609ad
commit 248c268d5b
2 changed files with 2 additions and 4 deletions

View File

@ -773,8 +773,6 @@ DefineIndex(Oid relationId,
PopActiveSnapshot();
PrintSnapMgrStatus("concurrent index build, after PopActiveSnapshot");
elog(LOG, "concurrent index build: releasing snap %p with regd_count %d, active_count %d",
snapshot, snapshot->regd_count, snapshot->active_count);
UnregisterSnapshot(snapshot);
PrintSnapMgrStatus("concurrent index build, after UnregisterSnapshot");
InvalidateCatalogSnapshot();

View File

@ -1411,7 +1411,7 @@ PrintSnapMgrStatus(const char *context)
for (active = ActiveSnapshot; active != NULL; active = active->as_next)
asdepth++;
elog(LOG, "%s: %d reg snaps, %d active snaps, first snap %p, cat snap %p, xmin %u",
elog(LOG, "%s: %d reg snaps, %d active snaps, cat snap %p, xmin %u",
context, RegisteredSnapshots, asdepth,
FirstXactSnapshot, CatalogSnapshot, MyPgXact->xmin);
CatalogSnapshot, MyPgXact->xmin);
}