Re: need clarification about hash_bytes() non-determinitstic behaviour between Little Endian and Big Endian

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ilyasov Ian <ianilyasov(at)outlook(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: need clarification about hash_bytes() non-determinitstic behaviour between Little Endian and Big Endian
Date: 2026-06-10 16:44:01
Message-ID: 1404365.1781109841@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Ilyasov Ian <ianilyasov(at)outlook(dot)com> writes:
> So my question is it necessary for hash_bytes() to return the same result on any endianness

No, I don't believe we expect hash functions to produce
machine-independent results.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-06-10 17:03:52 Re: Fix missing semicolon in pl_gram.y for option_value rule
Previous Message Jeff Davis 2026-06-10 16:40:22 Re: Commit Sequence Numbers and Visibility