Re: Is it possible to combine the power of Postgres and Python in do statement? - Mailing list pgsql-sql

From Shaozhong SHI
Subject Re: Is it possible to combine the power of Postgres and Python in do statement?
Date
Msg-id CA+i5JwYPSZxMFdM0Q0HN9oR64PrOqG0BvTZkKzQvj+o1+PD+1Q@mail.gmail.com
Whole thread Raw
In response to Re: Is it possible to combine the power of Postgres and Python in do statement?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
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

pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Is it possible to combine the power of Postgres and Python in do statement?
Next
From: aditya desai
Date:
Subject: DBMS Queus