agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: Tom Lane <tgl@sss.pgh.pa.us>
To: Shaozhong SHI <shishaozhong@gmail.com>
Cc: pgsql-sql <pgsql-sql@lists.postgresql.org>
Subject: Re: Is it possible to combine the power of Postgres and Python in do statement?
Date: Tue, 05 Oct 2021 10:32:22 -0400
Message-ID: <4069942.1633444342@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+i5JwaCrEpUfckCpoLarEJVejmeuTxmbaoWHSy5jdLZ=qo9sQ@mail.gmail.com>
References: <CA+i5JwaCrEpUfckCpoLarEJVejmeuTxmbaoWHSy5jdLZ=qo9sQ@mail.gmail.com>
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
view thread (3+ messages) latest in thread
Message-ID: <4069942.1633444342@sss.pgh.pa.us>
Permalink: ../4069942.1633444342@sss.pgh.pa.us/
Also on: postgresql.org/message-id/4069942.1633444342@sss.pgh.pa.us
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, shishaozhong@gmail.com, pgsql-sql@lists.postgresql.org
Subject: Re: Is it possible to combine the power of Postgres and Python in do statement?
In-Reply-To: <4069942.1633444342@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox