Re: fix for strict-alias warnings - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: fix for strict-alias warnings
Date
Msg-id Pine.LNX.4.44.0310141803430.22628-100000@peter.localdomain
Whole thread Raw
In response to Re: fix for strict-alias warnings  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: fix for strict-alias warnings
List pgsql-patches
Andrew Dunstan writes:

> And looking at it even closer, 2 of the 3 cases of calling MemSet appear
> to be unnecessary, as the zeroed out values are immediately overwritten.

We need to zero out the holes in the structures so that hash functions
work correctly.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [Fwd: Make psql use all pretty print options]
Next
From: Manfred Spraul
Date:
Subject: Re: fix for strict-alias warnings