]> git.openstreetmap.org Git - nominatim.git/blob - lib-sql/functions.sql
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / lib-sql / functions.sql
1 -- SPDX-License-Identifier: GPL-2.0-only
2 --
3 -- This file is part of Nominatim. (https://nominatim.org)
4 --
5 -- Copyright (C) 2022 by the Nominatim developer community.
6 -- For a full list of authors see the git log.
7
8 {% include('functions/utils.sql') %}
9 {% include('functions/ranking.sql') %}
10 {% include('functions/importance.sql') %}
11 {% include('functions/address_lookup.sql') %}
12 {% include('functions/interpolation.sql') %}
13
14 {% if 'place' in db.tables %}
15     {% include 'functions/place_triggers.sql' %}
16 {% endif %}
17
18 {% if 'placex' in db.tables %}
19     {% include 'functions/placex_triggers.sql' %}
20 {% endif %}
21
22 {% if 'location_postcode' in db.tables %}
23     {% include 'functions/postcode_triggers.sql' %}
24 {% endif %}
25
26 {% include('functions/partition-functions.sql') %}