[ad_1]
I’m using postgres 14 for creating this function in Datagrip:
CREATE EXTENSION plpython3u;
CREATE OR REPLACE FUNCTION pymax (x integer, y integer) RETURNS integer
AS $$
if x>y:
return x
$$ LANGUAGE plpython3u;
The user I use is a superuser.
I get the following error when I execute this. How do I resolve this? I’ve tried increasing the connection timeout in the settings which did not help. Any suggestions here?
in pgadmin4, the error looks like this:
[ad_2]