summaryrefslogtreecommitdiffstats
path: root/contrib/hstore/hstore--1.5--1.6.sql
blob: c5a2bae02ff0ca4708e5944d4ffebe18b9cfb8a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* 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);