File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 279
279
* enables detection of buffer accesses that take place without holding a
280
280
* buffer pin (or without holding a buffer lock in the case of index access
281
281
* methods that superimpose their own custom client requests on top of the
282
- * generic bufmgr.c requests). See also src/tools/valgrind.supp.
282
+ * generic bufmgr.c requests).
283
283
*
284
284
* "make installcheck" is significantly slower under Valgrind. The client
285
285
* requests fall in hot code paths, so USE_VALGRIND slows execution by a few
286
286
* percentage points even when not run under Valgrind.
287
287
*
288
+ * Do not try to test the server under Valgrind without having built the
289
+ * server with USE_VALGRIND; else you will get false positives from sinval
290
+ * messaging (see comments in AddCatcacheInvalidationMessage). It's also
291
+ * important to use the suppression file src/tools/valgrind.supp to
292
+ * exclude other known false positives.
293
+ *
288
294
* You should normally use MEMORY_CONTEXT_CHECKING with USE_VALGRIND;
289
295
* instrumentation of repalloc() is inferior without it.
290
296
*/
You can’t perform that action at this time.
0 commit comments