Call postgres PL/Python stored function from another PL/Python block. - Mailing list pgsql-general

From lodopidolo
Subject Call postgres PL/Python stored function from another PL/Python block.
Date
Msg-id CAH8CjoBaFgO9Q=W9vgRDbS8RPvXoLvjRKty2Brym95x8ETLpyg@mail.gmail.com
Whole thread Raw
Responses Re: Call postgres PL/Python stored function from another PL/Python block.
Re: Call postgres PL/Python stored function from another PL/Python block.
Re: Call postgres PL/Python stored function from another PL/Python block.
List pgsql-general
Hello. It is possible to call al PL/Python stored function natively from another PL/Python function?

Something like:

create or replace function f1() returns text as $$   return "hello"
$$ language 'plpython3u';
do $$
begin   ...   t = f1()   ...
end;
$$ language 'plpython3u';

Regards.

pgsql-general by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: WIP: CoC V5
Next
From: Tom Lane
Date:
Subject: Re: WIP: CoC V5