Add isolation tests for the combination of EPQ and triggers.
Andres Freund <andres@anarazel.de>
Add isolation tests for the combination of EPQ and triggers. As evidenced by bug #16036 this area is woefully under-tested. Add fairly extensive tests for the combination. Backpatch back to 9.6 - before that isolationtester was not capable enough. While we don't backpatch tests all the time, future fixes to trigger.c would potentially look different enough in 12+ from the earlier branches that introducing bugs during backpatching is more likely than normal. Also, it's just a crucial and undertested area of the code. Author: Andres Freund Discussion: https://postgr.es/m/16036-28184c90d952fb7f@postgresql.org Backpatch: 9.6-, the earliest these tests work
Files
| Path | Change | +/− |
|---|---|---|
| src/test/isolation/expected/eval-plan-qual-trigger.out | added | +2587 −0 |
| src/test/isolation/isolation_schedule | modified | +1 −0 |
| src/test/isolation/specs/eval-plan-qual-trigger.spec | added | +409 −0 |
Discussion
- BUG #16036: Segmentation fault while doing an update 22 messages · 2019-10-04 → 2019-10-05