Is it possible to combine the power of Postgres and Python in do statement?

Поиск
Список
Период
Сортировка
Искать

Is it possible to combine the power of Postgres and Python in do statement?

От:
Shaozhong SHI <shishaozhong@gmail.com>
Дата:
How to combine the power of Postgres and Python is of interest.

Can we do that within a Do statement?

Any examples?

Regards,

David

Re: Is it possible to combine the power of Postgres and Python in do statement?

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Shaozhong SHI  writes:
> How to combine the power of Postgres and Python is of interest.
> Can we do that within a Do statement?

DO $$ ... $$ LANGUAGE plpythonu;

			regards, tom lane


Re: Is it possible to combine the power of Postgres and Python in do statement?

От:
Shaozhong SHI <shishaozhong@gmail.com>
Дата:
Hi, Tom,

Any demo?

Regards,

David

On Tue, 5 Oct 2021 at 15:32, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Shaozhong SHI <shishaozhong@gmail.com> writes:
> How to combine the power of Postgres and Python is of interest.
> Can we do that within a Do statement?

DO $$ ... $$ LANGUAGE plpythonu;

                        regards, tom lane
FAQ