pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add a 64-bit hash function for type hstore.
Date: Fri, 23 Nov 2018 18:37:37 +0000
Message-ID: <E1gQGKf-0007GS-SS@gemulon.postgresql.org> (raw)

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(-)



view thread (2+ messages)

Message-ID: <E1gQGKf-0007GS-SS@gemulon.postgresql.org>
Permalink:  ../E1gQGKf-0007GS-SS@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gQGKf-0007GS-SS@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Add a 64-bit hash function for type hstore.
  In-Reply-To: <E1gQGKf-0007GS-SS@gemulon.postgresql.org>
  References: <E1gQGKf-0007GS-SS@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