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 1jA2Ry-0004UN-QD for pgsql-committers@arkaria.postgresql.org; Fri, 06 Mar 2020 02:10:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jA2Rw-0006GR-Tn for pgsql-committers@arkaria.postgresql.org; Fri, 06 Mar 2020 02:10:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jA2Rw-0006GG-FG for pgsql-committers@lists.postgresql.org; Fri, 06 Mar 2020 02:10:52 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jA2Rt-0005D3-Kp for pgsql-committers@lists.postgresql.org; Fri, 06 Mar 2020 02:10:50 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id E07E7223A0; Thu, 5 Mar 2020 21:10:48 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 05 Mar 2020 21:10:48 -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=6lehOhnZJTxtGMAMTp4BrcCnqzZ uuPdNDTyy0/Iq634=; b=M5BUgMVSFuNlj9IQV0HA6fOJHZcoAhPVeyli5If+72k wLv1+BuFfqWbN+z00U+3LBntnFvDPKSchDE8LKdKDWB3LCEk308boNBtqGGwKOhv XSjm28OMpOpVeGsOvUFZfevRZ7gV9XdGIpyvxTSMvQCdSU3x2tEDniwpoV+QqUM8 2oWRBltl891qKZ5THj5uJeGa8nIPLZuX1f9TGh3VeAWjUSl5Hfb1yp42TSw1gp2T LbPdC81oK/Sd7oc/L2KGmKZv7HIA+6zLpAw7mIGUzP2oOJvgMNwZDFOmMz9Z74gx x63x7aDUNnNWLcDlNdCjL2fDSzjIHHwLDAOAwr8ruWg== 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=6lehOh nZJTxtGMAMTp4BrcCnqzZuuPdNDTyy0/Iq634=; b=3MIpLTaB/BdKth4zbTeb75 WS9/1079pEua5HPUfejlGveO1A8gsdRmLNpfZhCHOamLkJ0xA9GvVeWpvGxKg8Hp sp52x6TGYqOiBrnaH5qP53YVE8vPOXqb2/yEJSL2EgpHlv95bHR5JN46ZE3aiD1R 8N4OsMvnW9C09gi8Au4Hs5L8EuJsndPptID7UGmbwZ44rjPIN+10IOvk2fT+6Oan Nfxz2mSxbaKwRvMq2v6aQJe5YVzCokjIihxNhqKyu7T8bhxuFAWjNiuf4Djh6gKx 6iOSKW+vGrA+DfgF+mu3UWg7JqmxWgbT2td7zBfijp8gsCJIHhceI7ukijJbuTBA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudduuddggeefucetufdoteggodetrfdotf 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 AA0E3306075F; Thu, 5 Mar 2020 21:10:40 -0500 (EST) Date: Fri, 6 Mar 2020 11:10:25 +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: <20200306021025.GG52814@paquier.xyz> References: <1cf30561-7dad-dc6e-9fc3-5c456948cfeb@pgmasters.net> <20200305233014.GA2501@paquier.xyz> <20200306004826.GB52814@paquier.xyz> <20200306011006.GC52814@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZYOWEO2dMm2Af3e3" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --ZYOWEO2dMm2Af3e3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Mar 05, 2020 at 08:20:23PM -0500, David Steele wrote: > Couldn't we use pageinspect? Oh, indeed. I forgot that we already have this function. The tests of page.sql don't care about the page size either, so it would be enough to add a couple of calls with some hardcoded bytea input. -- Michael --ZYOWEO2dMm2Af3e3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl5hsREACgkQnvQgOdby QH1vHhAAnB+6IoquGLuaTFkLfG+ZZ2XUF0Q0dL9tk+BSsEIE9LikQvHAmOWk6kog bDhPD/jl0XIB2hTwvEHFzZ3zEk/P8CUfAV7YzIZ1suPGi7nXHqZQKuiDqaIY1hZ4 6QvtlfG/WV5Au+bS0wepvUCIvJNcn0o8i6R57oomY6tr6uKYhLDT0P9xWQlX82mp 9yrMrGLgvTct8tmKUUfpu1Gx9NqdFhndA7SXt6GefDD1XEjFDHWek9b9ASEwwcT9 nxN2aFYyIDcTPJn3vpD3poo2LKKzUmjX4T520zfkuKSXrZbJXstnOuCqISU5/M2e ETkHKWJwK79tODVKk8IBHtc17za9tln22bHRWbeuydBhQAYEizqBjEwjp7fk0S5+ Uk9sjoEjbRjrNHfsFBgCUffVuABgCHrKjakBMzELBKytmvAeBrXM2tIGC1XK8o8f xHkqOoFTL+4yEM6ZnyUKD9nXM464mYGUkEFHIgFTgQAKSsUMTpKwWp/+jJipMag8 K/gnnl2IKB5oUhytL23zbczFike+PMBnn9BbBukWRrgg97BsOsf/mn3kpxW5nyUK rmnjtto6P1M3K+T5pZO4eKqv0PFLIlYotdrxdytIlrm2Wi9CAvzWuAMuoHwFir9q Ra1oBuqs9/PJFywJJTAQkid55fIHLwFHD8xuVwYz4SWvC0umWYs= =WpLJ -----END PGP SIGNATURE----- --ZYOWEO2dMm2Af3e3--