pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Naylor <john.naylor@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix incorrect return type
Date: Sat, 06 Apr 2024 05:21:21 +0000
Message-ID: <E1rsyUT-000l5b-0E@gemulon.postgresql.org> (raw)

Fix incorrect return type

fasthash32() calculates a 32-bit hashcode, but the return
type was uint64. Change to uint32.

Noted by Jeff Davis

Discussion: https://postgr.es/m/b16c93e6c736a422d4de668343515375664eb05d.camel%40j-davis.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4b968e2027ba46b31be0a648486f86a2cadc707d

Modified Files
--------------
src/include/common/hashfn_unstable.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



Message-ID: <E1rsyUT-000l5b-0E@gemulon.postgresql.org>
Permalink:  ../E1rsyUT-000l5b-0E@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rsyUT-000l5b-0E@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: john.naylor@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix incorrect return type
  In-Reply-To: <E1rsyUT-000l5b-0E@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