Nominatim/sql/hstore_compatability_9_0.sql

9 lines
140 B
PL/PgSQL

CREATE OR REPLACE FUNCTION hstore(k text, v text) RETURNS HSTORE
AS $$
DECLARE
BEGIN
RETURN k => v;
END;
$$
LANGUAGE plpgsql IMMUTABLE;