mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-22 08:53:23 +02:00
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
13 lines
455 B
SQL
13 lines
455 B
SQL
/* contrib/hstore/hstore--1.5--1.6.sql */
|
|
|
|
-- complain if script is sourced in psql, rather than via ALTER EXTENSION
|
|
\echo Use "ALTER EXTENSION hstore UPDATE TO '1.6'" to load this file. \quit
|
|
|
|
CREATE FUNCTION hstore_hash_extended(hstore, int8)
|
|
RETURNS int8
|
|
AS 'MODULE_PATHNAME','hstore_hash_extended'
|
|
LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
|
|
|
|
ALTER OPERATOR FAMILY hash_hstore_ops USING hash ADD
|
|
FUNCTION 2 hstore_hash_extended(hstore, int8);
|