mirror of
https://github.com/postgres/postgres.git
synced 2025-08-18 12:22:09 +03:00
Revert "Add more temporary debug logging, in 9.4 branch only."
This reverts commit eef1a609ad
.
It's served its purpose.
This commit is contained in:
@@ -773,8 +773,6 @@ DefineIndex(Oid relationId,
|
|||||||
|
|
||||||
PopActiveSnapshot();
|
PopActiveSnapshot();
|
||||||
PrintSnapMgrStatus("concurrent index build, after 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);
|
UnregisterSnapshot(snapshot);
|
||||||
PrintSnapMgrStatus("concurrent index build, after UnregisterSnapshot");
|
PrintSnapMgrStatus("concurrent index build, after UnregisterSnapshot");
|
||||||
InvalidateCatalogSnapshot();
|
InvalidateCatalogSnapshot();
|
||||||
|
@@ -1411,7 +1411,7 @@ PrintSnapMgrStatus(const char *context)
|
|||||||
for (active = ActiveSnapshot; active != NULL; active = active->as_next)
|
for (active = ActiveSnapshot; active != NULL; active = active->as_next)
|
||||||
asdepth++;
|
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,
|
context, RegisteredSnapshots, asdepth,
|
||||||
FirstXactSnapshot, CatalogSnapshot, MyPgXact->xmin);
|
CatalogSnapshot, MyPgXact->xmin);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user