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 producemachine-independent results.
regards, tom lane