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

From Alvaro Herrera
Subject Re: pg_verify_checksums and -fno-strict-aliasing
Date
Msg-id 20180830144547.ni5x252hyplnhaxq@alvherre.pgsql
Whole thread Raw
In response to Re: pg_verify_checksums and -fno-strict-aliasing  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
On 2018-Aug-30, Fabien COELHO wrote:

> As PostgreSQL source is expected to conform to some C standard (unsure which
> one right now, possibly c89 but maybe it is beginning to switch to c99, a
> young 19 years old standard), I'd suggest that the right fix is rather to
> actually remove the aliasing issue.

Yeah, type aliasing is quite a rampant issue in our code and I don't
think there's an easy fix.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: rare crash - FailedAssertion snapbuild.c Line: 580
Next
From: Erik Rijkers
Date:
Subject: Re: rare crash - FailedAssertion snapbuild.c Line: 580