Call postgres PL/Python stored function from another PL/Python block.

From: lodopidolo <dir(dot)postgresql(at)orencio(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Call postgres PL/Python stored function from another PL/Python block.
Date: 2016-01-13 15:47:47
Message-ID: CAH8CjoBaFgO9Q=W9vgRDbS8RPvXoLvjRKty2Brym95x8ETLpyg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

(this question has been made in
http://stackoverflow.com/questions/34764665/call-postgres-pl-python-stored-function-from-another-pl-python-block
too).

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2016-01-13 16:05:28 Re: WIP: CoC V5
Previous Message Kevin Grittner 2016-01-13 15:34:35 Re: WIP: CoC V5