Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJsza-0002By-BT for pgsql-committers@arkaria.postgresql.org; Wed, 29 Nov 2017 03:24:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJszZ-0003ZQ-LG for pgsql-committers@arkaria.postgresql.org; Wed, 29 Nov 2017 03:24:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eJszZ-0003ZG-8Y for pgsql-committers@lists.postgresql.org; Wed, 29 Nov 2017 03:24:57 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eJszW-0002zM-Hv for pgsql-committers@postgresql.org; Wed, 29 Nov 2017 03:24:56 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id DF4A020C64; Tue, 28 Nov 2017 22:24:52 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 28 Nov 2017 22:24:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=GycHzXTy6yKLwq0xCbh5HJHdPWpzS ehrVdJfigpw/8o=; b=qG5ByFCdjO9CgFj9B5BRPPUODkU/sd5twmWnAYunQiiPQ GQUbuQ2rwtlswEtAUphacx2AR/alg2A02IT4MbUtVS/+n1Hy5MDMZ0eA/pRMFFrz otEoJNmW2ySEL5uOKibcaHdp7T9XjQ4zhSjBr7o8L8HqrXsXhT42h0dMC8259X80 beEWI64kprWQYjA4Gv7yEK9yQK2wRDNXSsRPbDMdb1AGXxJva6is19aDDgMQfTFL FkR5ozA+u3mg11npUzQfjxXs+/sL+RwF07OXewqMUqQzf/T6SnrVjchdp0Aqiq7c pTu4Yofmn2QrRDUYwnXyI7pwtPQYUHyAqZlexI8zA== X-ME-Sender: Received: from intern.anarazel.de (unknown [136.24.76.189]) by mail.messagingengine.com (Postfix) with ESMTPA id 9C65224536; Tue, 28 Nov 2017 22:24:52 -0500 (EST) Date: Tue, 28 Nov 2017 19:24:51 -0800 From: Andres Freund To: Alvaro Herrera Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Make memset() use sizeof() rather than re-compute size Message-ID: <20171129032451.xjwf4jvdnf5eyda6@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 ;) Greetings, Andres Freund