Add temporary debug logging, in 9.4 branch only.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: e55380f3b60108d402f64131fe655b0e5ccc1f31
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2018-04-16T17:44:39Z
Releases: 9.4.18
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

Files

PathChange+/−
src/backend/commands/indexcmds.c modified +6 −0
src/backend/utils/time/snapmgr.c modified +14 −0
src/include/utils/snapmgr.h modified +2 −0

Discussion