Re: uninitialized values in revised prepared xact code
От | Heikki Linnakangas |
---|---|
Тема | Re: uninitialized values in revised prepared xact code |
Дата | |
Msg-id | 544A6BB4.2060202@vmware.com обсуждение исходный текст |
Ответ на | Re: uninitialized values in revised prepared xact code (Andres Freund <andres@2ndquadrant.com>) |
Список | pgsql-hackers |
On 10/24/2014 05:40 PM, Andres Freund wrote: > On 2014-10-24 17:13:49 +0300, Heikki Linnakangas wrote: >> Yeah. The padding bytes in TwoPhaseFileHeader were not initialized. >> >> That's simple enough to fix, but when I run valgrind, I get a lot whole >> bunch of similar messages. A few are from pgstat: the padding bytes in the >> pgstat messages are not initialized. One comes from >> write_relcache_init_file(); again I believe it's padding bytes being >> uninitialized (in FormData_pg_attribute). And one from the XLogInsert from >> heap_insert; there's an uninitialized padding byte in xl_heap_insert. And so >> forth.. Is it worthwhile to hunt down all of these? If there aren't many >> more than these, it probably is worth it, but I fear this might be an >> endless effort. Have we been clean of these warnings at any point in the >> past? > > Did you use the valgrind suppression file in src/tools? It suppresses > some "known harmless" cases. Ah, I did not. With the file, the original warning that started this thread is gone; you added a suppression for it in commit 9a0a12f683235d3e10b873baba974f6414297a7e. - Heikki
В списке pgsql-hackers по дате отправления: