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

From: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-sql <pgsql-sql(at)lists(dot)postgresql(dot)org>
Subject: Re: Is it possible to combine the power of Postgres and Python in do statement?
Date: 2021-10-05 15:48:28
Message-ID: CA+i5JwYPSZxMFdM0Q0HN9oR64PrOqG0BvTZkKzQvj+o1+PD+1Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi, Tom,

Any demo?

Regards,

David

On Tue, 5 Oct 2021 at 15:32, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Shaozhong SHI <shishaozhong(at)gmail(dot)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
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message aditya desai 2021-10-06 13:19:27 DBMS Queus
Previous Message Tom Lane 2021-10-05 14:32:22 Re: Is it possible to combine the power of Postgres and Python in do statement?