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

Поиск
Список
Период
Сортировка
От lodopidolo
Тема Call postgres PL/Python stored function from another PL/Python block.
Дата
Msg-id CAH8CjoBaFgO9Q=W9vgRDbS8RPvXoLvjRKty2Brym95x8ETLpyg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Call postgres PL/Python stored function from another PL/Python block.  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: Call postgres PL/Python stored function from another PL/Python block.  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Re: Call postgres PL/Python stored function from another PL/Python block.  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список 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 по дате отправления:

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: WIP: CoC V5
Следующее
От: Tom Lane
Дата:
Сообщение: Re: WIP: CoC V5