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