pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Make memset() use sizeof() rather than re-compute size
Date: Wed, 29 Nov 2017 03:20:07 +0000
Message-ID: <E1eJsut-0006nX-VE@gemulon.postgresql.org> (raw)

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

This is simpler and more closely follows overwhelming precedent.

Report and patch by Mark Dilger.
Discussion: https://postgr.es/m/9A68FB88-5F45-4848-9926-8586E2D777D1@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3848d21673e9dcb42d4bc1353043d7c7d6f550cd

Modified Files
--------------
src/backend/statistics/extended_stats.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1eJsut-0006nX-VE@gemulon.postgresql.org>
Permalink:  ../E1eJsut-0006nX-VE@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eJsut-0006nX-VE@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Make memset() use sizeof() rather than re-compute size
  In-Reply-To: <E1eJsut-0006nX-VE@gemulon.postgresql.org>
  References: <E1eJsut-0006nX-VE@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox