]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-sql/functions/normalization.sql
introduce jinja2 for preprocessing SQL
[nominatim.git] / lib-sql / functions / normalization.sql
index 8bb4915bbf8612ab858c98345409bbef57ff6eb0..6fcdf55250511077b74366651f062aac45125c55 100644 (file)
@@ -1,12 +1,12 @@
 -- Functions for term normalisation and access to the 'word' table.
 
 CREATE OR REPLACE FUNCTION transliteration(text) RETURNS text
-  AS '{modulepath}/nominatim.so', 'transliteration'
+  AS '{{ modulepath }}/nominatim.so', 'transliteration'
 LANGUAGE c IMMUTABLE STRICT;
 
 
 CREATE OR REPLACE FUNCTION gettokenstring(text) RETURNS text
-  AS '{modulepath}/nominatim.so', 'gettokenstring'
+  AS '{{ modulepath }}/nominatim.so', 'gettokenstring'
 LANGUAGE c IMMUTABLE STRICT;