Re: pg_verify_checksums and -fno-strict-aliasing - Mailing list pgsql-hackers

From Michael Banck
Subject Re: pg_verify_checksums and -fno-strict-aliasing
Date
Msg-id 1535660901.1286.8.camel@credativ.de
Whole thread Raw
In response to Re: pg_verify_checksums and -fno-strict-aliasing  (Magnus Hagander <magnus@hagander.net>)
Responses Re: pg_verify_checksums and -fno-strict-aliasing
List pgsql-hackers
Hi,

Am Donnerstag, den 30.08.2018, 21:35 +0200 schrieb Magnus Hagander:
> So if I get you  right, you're saying the attached patch should be all
> that's needed? 

I tried to do some similar changes but neither what you proposed nor
what I came up with actually fixes the checksum failures, though they
silence the warning at -Wall level.

Could well be I'm doing something wrong, so it would be cool if somebody
could reproduce this first. In principle, it should be enough to run
'make clean && make CLFAGS=-O2' in the src/bin/pg_verify_checksums
subdirectory in order to get a broken executable.


Michael

-- 
Michael Banck
Projektleiter / Senior Berater
Tel.: +49 2166 9901-171
Fax:  +49 2166 9901-100
Email: michael.banck@credativ.de

credativ GmbH, HRB Mönchengladbach 12080
USt-ID-Nummer: DE204566209
Trompeterallee 108, 41189 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer

Unser Umgang mit personenbezogenen Daten unterliegt
folgenden Bestimmungen: https://www.credativ.de/datenschutz


pgsql-hackers by date:

Previous
From: Michael Banck
Date:
Subject: Re: pg_verify_checksums and -fno-strict-aliasing
Next
From: Tom Lane
Date:
Subject: Re: pg_verify_checksums and -fno-strict-aliasing