Re: pgsql: Make memset() use sizeof() rather than re-compute size

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Make memset() use sizeof() rather than re-compute size
Date: 2017-11-29 15:49:26
Message-ID: 20171129154926.ppz64zsbvox72qfs@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Andres Freund wrote:
> On 2017-11-29 03:20:07 +0000, Alvaro Herrera wrote:
> > Make memset() use sizeof() rather than re-compute size
>
> Minor nitpick: This commit subject line reads a lot more general than
> a detail in extended_stats.c - as if you'd modified a memset()
> implementation or such ;)

Eh, you're right -- I didn't notice that. I'll pay more attention to
that ...

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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-11-29 20:28:48 pgsql: Add extensive tests for partition pruning.
Previous Message Peter Eisentraut 2017-11-29 15:02:27 pgsql: PL/Python: Fix remaining scan-build warnings