X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/bdaa39573ffe032214ec31f763ec0110401d7e4f..ffcce6036fa166736e45625ff239e6407c269b4d:/sql/partition-functions.src.sql diff --git a/sql/partition-functions.src.sql b/sql/partition-functions.src.sql index 07e99c97..8f78032e 100644 --- a/sql/partition-functions.src.sql +++ b/sql/partition-functions.src.sql @@ -39,7 +39,7 @@ BEGIN RAISE EXCEPTION 'Unknown partition %', in_partition; END $$ -LANGUAGE plpgsql; +LANGUAGE plpgsql STABLE; create or replace function deleteLocationArea(in_partition INTEGER, in_place_id BIGINT, in_rank_search INTEGER) RETURNS BOOLEAN AS $$ DECLARE @@ -145,7 +145,7 @@ BEGIN RAISE EXCEPTION 'Unknown partition %', in_partition; END $$ -LANGUAGE plpgsql; +LANGUAGE plpgsql STABLE; create or replace function insertSearchName( @@ -254,7 +254,7 @@ BEGIN RAISE EXCEPTION 'Unknown partition %', in_partition; END $$ -LANGUAGE plpgsql IMMUTABLE; +LANGUAGE plpgsql STABLE; CREATE OR REPLACE FUNCTION getNearestParallelRoadFeature(in_partition INTEGER, line GEOMETRY) @@ -298,4 +298,4 @@ BEGIN RAISE EXCEPTION 'Unknown partition %', in_partition; END $$ -LANGUAGE plpgsql IMMUTABLE; +LANGUAGE plpgsql STABLE;