forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita766d6c
committed
Avoid harmless Valgrind no-buffer-pin errors.
Valgrind builds with assertions enabled sometimes perform atheoretically unsafe page access inside an assertion inheapam_tuple_lock(). This happened when the eval-plan-qual isolationtest ran one of the permutations added by commita2418f9.Avoid complaints from Valgrind by moving the assertion ever so slightly.This is minor cleanup for commit1e0dfd1, which added Valgrind bufferaccess instrumentation.No backpatch, since this only happens within an assertion, and seemsvery unlikely to cause any real problems even with assert-enabledbuilds.1 parent46ef520 commita766d6c
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
368 | 368 |
| |
369 | 369 |
| |
370 | 370 |
| |
371 |
| - | |
372 | 371 |
| |
373 | 372 |
| |
374 | 373 |
| |
| 374 | + | |
| 375 | + | |
375 | 376 |
| |
376 | 377 |
| |
377 | 378 |
| |
|
0 commit comments
Comments
(0)