pgsql: Add a 64-bit hash function for type hstore.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add a 64-bit hash function for type hstore.
Date: 2018-11-23 18:37:37
Message-ID: E1gQGKf-0007GS-SS@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add a 64-bit hash function for type hstore.

There's some question about the correctness of the hash function, but
if it's wrong, the 32-bit version is also wrong.

Amul Sul, reviewed by Hironobu Suzuki

Discussion: https://postgr.es/m/CAAJ_b947JjnNr9Cp45iNjSqKf6PA5mCTmKsRwPjows93YwQrmw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/eb6f29141bed9dc95cb473614c30f470ef980705

Modified Files
--------------
contrib/hstore/Makefile | 4 +++-
contrib/hstore/expected/hstore.out | 12 ++++++++++++
contrib/hstore/hstore--1.5--1.6.sql | 12 ++++++++++++
contrib/hstore/hstore.control | 2 +-
contrib/hstore/hstore_op.c | 30 +++++++++++++++++++++++++++---
contrib/hstore/sql/hstore.sql | 9 +++++++++
6 files changed, 64 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2018-11-23 21:09:20 Re: pgsql: Add WL_EXIT_ON_PM_DEATH pseudo-event.
Previous Message Tom Lane 2018-11-23 18:24:56 pgsql: Add a 64-bit hash function for type citext.