Re: BUG #16036: Segmentation fault while doing an update
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Антон Власов <druidvav@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-bugs@lists.postgresql.org
Date: 2019-10-04T21:43:00Z
Lists: pgsql-bugs
Hi, Thanks again for the bug report! I've pushed the fix, and tests. They'll be included in 12.1 (which I assume will happen relatively soon), or you can compile a slightly newer version yourself. Regards, Andres On 2019-10-04 12:28:48 -0700, Andres Freund wrote: > On 2019-10-03 21:30:21 -0700, Andres Freund wrote: > > Here's 1, 2 & 4, working on fixing 3). While we now have OK-ish > > coverage for nodeModifyTable.c and nodeLockRows.c triggered EPQ, there's > > not much for the trigger case. > Here's both the fix and tests. > > I think the test adds a good bit coverage. What's lacking is primarily > testing foreign table related paths, but that seems separate enough, and > would need to be done in a separate contrib/ test anyway. > > I think there's a good case to be made to backpatch the tests further > than 12, but I'm not sure about it? They do pass (with one error message > about a failure to delete changed to a failure to update, we didn't use > to be able to discern) back to 9.6, requiring I did push the tests back to 9.6. Greetings, Andres Freund
Commits
-
Disable one more set of tests from c8841199509.
- 04a4c03efe3e 9.6.16 landed
- 2212e01316ff 10.11 landed
- 77b2d95b1485 11.6 landed
- 9051f62ed7ef 12.1 landed
- 3a68105154c3 13.0 landed
-
Disable one set of tests from c8841199509.
- e25847b471e2 9.6.16 landed
- 81b8cd5ed7c0 10.11 landed
- 5711a1828f1f 11.6 landed
- bbd26778643f 12.1 landed
- 6e61d75f5258 13.0 landed
-
Add isolation tests for the combination of EPQ and triggers.
- 04619f508fbf 9.6.16 landed
- 95266e64c5b7 10.11 landed
- 54b0feaf90d8 11.6 landed
- 0cbc72ca72d4 12.1 landed
- c88411995098 13.0 landed
-
Fix crash caused by EPQ happening with a before update trigger present.
- 60e97d63e5d1 12.1 landed
- d986d4e87f61 13.0 landed
-
Modify the isolation tester so that multiple sessions can wait.
- 38f8bdcac498 9.6.0 cited