From 2be7c787dd9dcc08248999ebb1b02dd91deaf2b9 Mon Sep 17 00:00:00 2001 From: xbgmsharp Date: Sat, 28 Oct 2023 22:28:14 +0200 Subject: [PATCH] Remove duplicated --- initdb/02_3_3_signalk_public_functions_py.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/initdb/02_3_3_signalk_public_functions_py.sql b/initdb/02_3_3_signalk_public_functions_py.sql index 8ad5e86..b06441f 100644 --- a/initdb/02_3_3_signalk_public_functions_py.sql +++ b/initdb/02_3_3_signalk_public_functions_py.sql @@ -15,8 +15,7 @@ CREATE SCHEMA IF NOT EXISTS public; -- -- https://github.com/CartoDB/labs-postgresql/blob/master/workshop/plpython.md -- -DROP FUNCTION IF EXISTS reverse_geocode_py_fn; -DROP FUNCTION public.reverse_geocode_py_fn; +DROP FUNCTION IF EXISTS reverse_geocode_py_fn; CREATE OR REPLACE FUNCTION reverse_geocode_py_fn(IN geocoder TEXT, IN lon NUMERIC, IN lat numeric, OUT geo jsonb) AS $reverse_geocode_py$