Add temporary debugging assertion, in 9.4 branch only.
authorTom Lane
Mon, 16 Apr 2018 00:23:59 +0000 (20:23 -0400)
committerTom Lane
Mon, 16 Apr 2018 00:23:59 +0000 (20:23 -0400)
commit5ee940e1cdb6af3af52bb01e44aac63f3a73a28d
treefcdbf955e64e91ef717906d8e4bc756b5de315e2
parente6b71727afc148f90967f4d7ca5cb29891ba2c6c
Add temporary debugging assertion, in 9.4 branch only.

Buildfarm member okapi has been failing the multiple-cic isolation
test for months now, but only in 9.4.  To narrow down the possible
causes, add an Assert testing that CREATE INDEX CONCURRENTLY is
advertising zero xmin before waiting for other transactions to end.

I'm not sure that this would hold in general, so this assertion isn't
meant to get released, but it passes all 9.4 regression tests for me.
Will revert once we see how okapi responds.
src/backend/commands/indexcmds.c