pgsql: Add temporary debugging assertion, in 9.4 branch only. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Add temporary debugging assertion, in 9.4 branch only.
Date
Msg-id E1f7rwD-0004NU-T1@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5ee940e1cdb6af3af52bb01e44aac63f3a73a28d

Modified Files
--------------
src/backend/commands/indexcmds.c | 3 +++
1 file changed, 3 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix potentially-unportable code in contrib/adminpack.
Next
From: Tom Lane
Date:
Subject: pgsql: Add temporary debug logging, in 9.4 branch only.