Re: [PATCH] Refactor *_abbrev_convert() functions

From: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
To: Aleksander Alekseev <aleksander(at)tigerdata(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, John Naylor <johncnaylorls(at)gmail(dot)com>
Subject: Re: [PATCH] Refactor *_abbrev_convert() functions
Date: 2026-09-23 08:50:50
Message-ID: CAN4CZFNuB8=cQj6K3oqTdcBh_gFxU8ZpZwS8JHv9Xs+O61XabA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

- h = DatumGetUInt32(hash_uint32(k->dboid));
- h ^= DatumGetUInt32(hash_any((const unsigned char *) k->channel,
- strnlen(k->channel, NAMEDATALEN)));
+ h = murmurhash32(k->dboid);
+ h ^= hash_bytes((const unsigned char *) k->channel,
+ strnlen(k->channel, NAMEDATALEN));

I see that this change was discussed previously, but shouldn't it be
at least mentioned in the commit message?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message shveta malik 2026-09-23 08:51:17 Re: Crashes on a partition whose concurrent detach never finished
Previous Message Amit Langote 2026-09-23 08:48:25 Re: Revert RI fast-path batching from REL_19_STABLE