mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
remove unused function
This commit is contained in:
@@ -223,24 +223,6 @@ $$
|
|||||||
LANGUAGE plpgsql STABLE;
|
LANGUAGE plpgsql STABLE;
|
||||||
|
|
||||||
|
|
||||||
CREATE OR REPLACE FUNCTION get_country_language_codes(search_country_code VARCHAR(2))
|
|
||||||
RETURNS TEXT[]
|
|
||||||
AS $$
|
|
||||||
DECLARE
|
|
||||||
nearcountry RECORD;
|
|
||||||
BEGIN
|
|
||||||
FOR nearcountry IN
|
|
||||||
SELECT country_default_language_codes from country_name
|
|
||||||
WHERE country_code = search_country_code limit 1
|
|
||||||
LOOP
|
|
||||||
RETURN lower(nearcountry.country_default_language_codes);
|
|
||||||
END LOOP;
|
|
||||||
RETURN NULL;
|
|
||||||
END;
|
|
||||||
$$
|
|
||||||
LANGUAGE plpgsql STABLE;
|
|
||||||
|
|
||||||
|
|
||||||
CREATE OR REPLACE FUNCTION get_partition(in_country_code VARCHAR(10))
|
CREATE OR REPLACE FUNCTION get_partition(in_country_code VARCHAR(10))
|
||||||
RETURNS INTEGER
|
RETURNS INTEGER
|
||||||
AS $$
|
AS $$
|
||||||
|
|||||||
Reference in New Issue
Block a user