| 1 |
/* contrib/hstore/hstore--1.7--1.8.sql */ |
| 2 |
|
| 3 |
-- complain if script is sourced in psql, rather than via ALTER EXTENSION |
| 4 |
\echo Use "ALTER EXTENSION hstore UPDATE TO '1.8'" to load this file. \quit |
| 5 |
|
| 6 |
CREATE FUNCTION hstore_subscript_handler(internal) |
| 7 |
RETURNS internal |
| 8 |
AS 'MODULE_PATHNAME', 'hstore_subscript_handler' |
| 9 |
LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE; |
| 10 |
|
| 11 |
ALTER TYPE hstore SET ( |
| 12 |
SUBSCRIPT = hstore_subscript_handler |
| 13 |
); |
| 14 |
|
| 15 |
-- Remove @ and ~ |
| 16 |
DROP OPERATOR @ (hstore, hstore); |
| 17 |
DROP OPERATOR ~ (hstore, hstore); |