Add simple tests of EvalPlanQual using the isolationtester infrastructure.
Tom Lane <tgl@sss.pgh.pa.us>
Add simple tests of EvalPlanQual using the isolationtester infrastructure. Much more could be done here, but at least now we have *some* automated test coverage of that mechanism. In particular this tests the writable-CTE case reported by Phil Sorber. In passing, remove isolationtester's arbitrary restriction on the number of steps in a permutation list. I used this so that a single spec file could be used to run several related test scenarios, but there are other possible reasons to want a step series that's not exactly a permutation. Improve documentation and fix a couple other nits as well.
Files
| Path | Change | +/− |
|---|---|---|
| src/test/isolation/expected/eval-plan-qual.out | added | +51 −0 |
| src/test/isolation/isolation_schedule | modified | +1 −0 |
| src/test/isolation/isolationtester.c | modified | +8 −9 |
| src/test/isolation/README | modified | +60 −29 |
| src/test/isolation/specs/eval-plan-qual.spec | added | +56 −0 |