Re: fix for strict-alias warnings

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: fix for strict-alias warnings
Date: 2003-10-14 16:04:15
Message-ID: Pine.LNX.4.44.0310141803430.22628-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Brusser 2003-10-14 16:09:09 Re: pg_ctl reload - is it safe?
Previous Message Michael Brusser 2003-10-14 16:01:47 feature request

Browse pgsql-patches by date

  From Date Subject
Next Message Manfred Spraul 2003-10-14 16:26:34 Re: fix for strict-alias warnings
Previous Message Tom Lane 2003-10-14 15:17:44 Re: [Fwd: Make psql use all pretty print options]