From 92b503c48d9d98657c59fe630f44b80efaab87de Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 18 Apr 2018 11:57:37 -0400 Subject: Revert "Add temporary debug logging, in 9.4 branch only." This reverts commit e55380f3b60108d402f64131fe655b0e5ccc1f31. It's served its purpose. --- src/backend/utils/time/snapmgr.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/backend/utils/time/snapmgr.c') diff --git a/src/backend/utils/time/snapmgr.c b/src/backend/utils/time/snapmgr.c index 2a3d915e1f9..331c91044f2 100644 --- a/src/backend/utils/time/snapmgr.c +++ b/src/backend/utils/time/snapmgr.c @@ -1401,17 +1401,3 @@ HistoricSnapshotGetTupleCids(void) Assert(HistoricSnapshotActive()); return tuplecid_data; } - -void -PrintSnapMgrStatus(const char *context) -{ - int asdepth = 0; - ActiveSnapshotElt *active; - - for (active = ActiveSnapshot; active != NULL; active = active->as_next) - asdepth++; - - elog(LOG, "%s: %d reg snaps, %d active snaps, cat snap %p, xmin %u", - context, RegisteredSnapshots, asdepth, - CatalogSnapshot, MyPgXact->xmin); -} -- cgit v1.2.3