- or download this
CREATE OR REPLACE FUNCTION get(uri character varying)
RETURNS json AS
...
$BODY$
LANGUAGE plpython2u VOLATILE
COST 100;
- or download this
CREATE OR REPLACE FUNCTION get(input_url character varying)
RETURNS json AS
...
$BODY$
LANGUAGE plperl VOLATILE
COST 100;
- or download this
select get('ipinfo.io/ip');
...
ERROR: Undefined subroutine &main::get called at line 6.
SQL state: 38000
Context: PL/Perl function "get"