Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jA1VJ-0000Ai-BU for pgsql-committers@arkaria.postgresql.org; Fri, 06 Mar 2020 01:10:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jA1VI-0004ak-7n for pgsql-committers@arkaria.postgresql.org; Fri, 06 Mar 2020 01:10:16 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1jA1VI-0004ad-0G for pgsql-committers@lists.postgresql.org; Fri, 06 Mar 2020 01:10:16 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jA1VF-00069g-Nd for pgsql-committers@lists.postgresql.org; Fri, 06 Mar 2020 01:10:15 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 3C236222FD; Thu, 5 Mar 2020 20:10:12 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 05 Mar 2020 20:10:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=2HJ6AlJQbLspz0SmUVP2c8xjjTn Aqdi3A2sm0NdO7T8=; b=dGD9m/BNEVa+uieJwZkMYe9egao1ZyTZ5Lv/DUioD96 9TsXZpL2MzuxRiNWw43tgMt+va0hzHIgtywjN8K4t6HuBc0z1D6kyCAykYAUfSZS YyYsvxYuv0yV0prBA4+oosc7FGMXw+rVyvEHLAbkeqbUrFZBvNIQeYW+rcm31Woq jMSD830KtjGdy1GCq593zUFnZq+5N3qmU9b281zVIwF10KolkLe5gcUAXxaAUT4i r1lP69lNmJLt+TrSdrlRfpIGBMGd5xabb/cW8cmAtdYrEheWP6YHMYQwQRzgh0X5 n/+e1RBowcLk+5IrbhD3WuuYKOn9ud0+HZimMU9mZ+Q== 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-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=2HJ6Al JQbLspz0SmUVP2c8xjjTnAqdi3A2sm0NdO7T8=; b=ST5Ckys0sGeF3x//N4fuWH LIXYRJAl07DAzMgz7VJrlwnsJd2NOMADtpMcCKLcCbdc7Mc8e2uPBokRQHl4mgWP gA/weee6S9Y0JZS60qYlKqPEQX9cASVKuYpKYbPuji7XMRYnTtaPbLAMDOSnCNSp 3Vgvq3HYMuey98fkAfaEU3oAWqh6PrLGg+tGrJEBs0uxnRCLVioW1PMrtL7NNp/q /ywqI4ajXX0NAhCyToTNOGenSe4261bk95ghd8wIAlphoMPQuJ3tUznAksO2TP20 PYz9wAX1FW5DDR1bDLG5vjEXE9brBM4VP168793LNbf8vTy0DxJ/HzXWqpfnJI0A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudduuddgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucfkphepudduuddruddtvddrudektddrudekheenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlse hprghquhhivghrrdighiii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 4712830612AF; Thu, 5 Mar 2020 20:10:10 -0500 (EST) Date: Fri, 6 Mar 2020 10:10:06 +0900 From: Michael Paquier To: David Steele Cc: Magnus Hagander , pgsql-committers Subject: Re: pgsql: Avoid -Wconversion warnings when using checksum_impl.h Message-ID: <20200306011006.GC52814@paquier.xyz> References: <1cf30561-7dad-dc6e-9fc3-5c456948cfeb@pgmasters.net> <20200305233014.GA2501@paquier.xyz> <20200306004826.GB52814@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kvUQC+jR9YzypDnK" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --kvUQC+jR9YzypDnK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Mar 05, 2020 at 07:58:50PM -0500, David Steele wrote: > Yeah, keeping BLKSZ a constant is pretty important for performance. That's > one of the main reasons that we only support the default. Doing something is not complicated, now how would people like to do it? Here are the options I can think of: 1) A TAP test, which bypasses the tests if the page size is not 8k. 2) A test for src/test/regress/, with a method similar to what we do for collate.sql for the compilations without ICU. In both cases mentioned here, we would need a SQL function to handle the work. -- Michael --kvUQC+jR9YzypDnK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl5hou4ACgkQnvQgOdby QH10nQ/7BcEyCdqgbvsyNbOZDfwtHItmGsrFTkiESSRP3zZ1ptolyfSr7vUjk7s/ Wg+fB5KP38sHq97nj0FeJDDZR9fcQbK2S6gYfBrHg6ZIZo89K4DctOYhRISjqbC2 arG+LYUFPujC6E393a9YiEjFIxW4cPmgkGElpg1lPRbG9BAbvqfOe+htM+t4AzlM C/6Y2fC6ysGqWieCerJRDjR8aseI1/i0Lqek7uNEIRjbYYkF7bB17UhPyredtLbn 1LTmz3/RLXEGezJtrkPvYZ5lDzl/DpG3dj9tca/L6vq2nrGl7HcPa8OjJNpj+CSv ur+qg2fnU4/6UE4KOxTlywT3SfbYEYHTWHFE91TJBhDaGQCyUPYTdajq+kzY1eui orUy8KQRZA5kYgWjLZzdPvY0d4uapFwzPdT7Kyuyc0Ktygya2c7iaweDjT+iudWk gHTmqQ1LihpVhwKH4UkwyIc4jJBDmWKSMbc6BlbL3n7Dtqg4lOC63Xmf2upY/Gvm pVoioruKHdFgEIBVCrQG13LYF7WIY85vIPlPul656kpnRLSafIAnTYfeKcMTYLLt z63crJsXmgfrcLsWaSGwzjITaxqgJDF5zlzZ1+q8tGVjnd6VVLPfMpRZnrl5FbWW d/GQX2JfkZxyS/BMGigLT3yOB85ZqbeHmgpwWgQVut5VFbkPkhU= =X23R -----END PGP SIGNATURE----- --kvUQC+jR9YzypDnK--