mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 11:17:46 +00:00
Add missing description to python function
This commit is contained in:
@@ -357,6 +357,10 @@ AS $urlencode_py$
|
|||||||
import urllib.parse
|
import urllib.parse
|
||||||
return urllib.parse.quote(uri, safe="");
|
return urllib.parse.quote(uri, safe="");
|
||||||
$urlencode_py$ LANGUAGE plpython3u IMMUTABLE STRICT;
|
$urlencode_py$ LANGUAGE plpython3u IMMUTABLE STRICT;
|
||||||
|
-- Description
|
||||||
|
COMMENT ON FUNCTION
|
||||||
|
public.urlencode_py_fn
|
||||||
|
IS 'python url encode using plpython3u';
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
-- python
|
-- python
|
||||||
@@ -382,7 +386,6 @@ AS $reverse_geoip_py$
|
|||||||
plpy.error('Failed to get ip details')
|
plpy.error('Failed to get ip details')
|
||||||
return '{}'
|
return '{}'
|
||||||
$reverse_geoip_py$ LANGUAGE plpython3u;
|
$reverse_geoip_py$ LANGUAGE plpython3u;
|
||||||
|
|
||||||
-- Description
|
-- Description
|
||||||
COMMENT ON FUNCTION
|
COMMENT ON FUNCTION
|
||||||
public.reverse_geoip_py_fn
|
public.reverse_geoip_py_fn
|
||||||
@@ -478,4 +481,4 @@ $overpass_py$ IMMUTABLE strict TRANSFORM FOR TYPE jsonb LANGUAGE plpython3u;
|
|||||||
-- Description
|
-- Description
|
||||||
COMMENT ON FUNCTION
|
COMMENT ON FUNCTION
|
||||||
public.overpass_py_fn
|
public.overpass_py_fn
|
||||||
IS 'Return https://overpass-turbo.eu seamark details within 300m using plpython3u';
|
IS 'Return https://overpass-turbo.eu seamark details within 400m using plpython3u';
|
||||||
|
Reference in New Issue
Block a user