summaryrefslogtreecommitdiff
path: root/src/include/utils/snapmgr.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-04-16 13:44:39 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-04-16 13:44:39 -0400
commite55380f3b60108d402f64131fe655b0e5ccc1f31 (patch)
treebef436aa65e5dfcda972410bbdee335d36a37299 /src/include/utils/snapmgr.h
parentfea5bfde1673fdbcf3ae2ce1ce3d5df2743e5653 (diff)
Add temporary debug logging, in 9.4 branch only.
Commit 5ee940e1c served its purpose by demonstrating that buildfarm member okapi is seeing some sort of locally-visible state mismanagement, not a cross-process data visibility problem as I'd first theorized. Put in some elog(LOG) messages in hopes of gathering more info about exactly what's happening there. Again, this is temporary code to be reverted once we have buildfarm results. Discussion: https://postgr.es/m/6744.1523833660@sss.pgh.pa.us
Diffstat (limited to 'src/include/utils/snapmgr.h')
-rw-r--r--src/include/utils/snapmgr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/utils/snapmgr.h b/src/include/utils/snapmgr.h
index c6aa3619508..71452d9afe1 100644
--- a/src/include/utils/snapmgr.h
+++ b/src/include/utils/snapmgr.h
@@ -65,4 +65,6 @@ extern void SetupHistoricSnapshot(Snapshot snapshot_now, struct HTAB *tuplecids)
extern void TeardownHistoricSnapshot(bool is_error);
extern bool HistoricSnapshotActive(void);
+extern void PrintSnapMgrStatus(const char *context);
+
#endif /* SNAPMGR_H */