Me and Oleg Bartunov got license key for PVS-Studio. Thanks Viva64 for it.
I've just run PVS-Studio against PostgreSQL head and it gives me very many warnings. CSV-file with them is attached. I believe most of them are just noise. But there could be useful warning which aren't mentioned in the blog post.
Probably somebody have ideas about what to do this that list?