mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 10:27:57 +00:00
hstore in 9.2 replaces k=>v with hstore(k,v). Update sql to reflect change and introduce compatability function for pre 9.1 postgresql
This commit is contained in:
8
sql/hstore_compatability_9_0.sql
Normal file
8
sql/hstore_compatability_9_0.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
CREATE OR REPLACE FUNCTION hstore(k text, v text) RETURNS HSTORE
|
||||
AS $$
|
||||
DECLARE
|
||||
BEGIN
|
||||
RETURN k => v;
|
||||
END;
|
||||
$$
|
||||
LANGUAGE plpgsql IMMUTABLE;
|
||||
Reference in New Issue
Block a user