]> granicus.if.org Git - postgresql/commitdiff
Quiet valgrind complaints following pread/pwrite changes
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 7 Nov 2018 17:54:24 +0000 (12:54 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 7 Nov 2018 17:58:39 +0000 (12:58 -0500)
Per complaints from buildfarm and elsewhere
Patch from Jasper Pedersen
Discussion: https://postgr.es/m/0f419c91-49ab-2399-0143-13063bd97c46@redhat.com

src/tools/valgrind.supp

index af03051260b28a302770c8e7549098c572a77bf3..2f3b602773562ad8fea9a1c6a66dfffb01c2db3f 100644 (file)
 {
        padding_XLogRecData_write
        Memcheck:Param
-       write(buf)
+       pwrite64(buf)
 
-    ...
+       ...
+       fun:pwrite
        fun:XLogWrite
 }