]> git.openstreetmap.org Git - nominatim.git/blob - lib-sql/functions.sql
introduce jinja2 for preprocessing SQL
[nominatim.git] / lib-sql / functions.sql
1 {% include('functions/utils.sql') %}
2 {% include('functions/normalization.sql') %}
3 {% include('functions/ranking.sql') %}
4 {% include('functions/importance.sql') %}
5 {% include('functions/address_lookup.sql') %}
6 {% include('functions/interpolation.sql') %}
7
8 {% if 'place' in db.tables %}
9     {% include 'functions/place_triggers.sql' %}
10 {% endif %}
11
12 {% if 'placex' in db.tables %}
13     {% include 'functions/placex_triggers.sql' %}
14 {% endif %}
15
16 {% if 'location_postcode' in db.tables %}
17     {% include 'functions/postcode_triggers.sql' %}
18 {% endif %}
19
20 {% include('functions/partition-functions.sql') %}