Hi, While checking some other code I used valgrind and noticed, as I had before, that XLogInsert showed accesses to unitialized data. After some searching and playing around I found the source of that: heap_insert uses a struct xl_heap_insert which in turn has a xl_heaptid member - which is padded. COMP_CRC32 will read most of xl_heap_insert (excluding its trailing padding) and thus generates valgrind warnings...
Questions: * I don't actually see any real danger in that - correct? * valgrind is quite usefull for investigating some issues, has a patch conditionally zeroing or annotating those structs any chances? Andres -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers