From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Use portal pinning in PL/Perl and PL/Python
Date: Wed, 10 Jan 2018 22:10:54 +0000
Message-ID: <E1eZOaE-0001qp-0O@gemulon.postgresql.org> (raw)
Use portal pinning in PL/Perl and PL/Python
PL/pgSQL "pins" internally generated portals so that user code cannot
close them by guessing their names. Add this functionality to PL/Perl
and PL/Python as well, preventing users from manually closing cursors
created by spi_query and plpy.cursor, respectively. (PL/Tcl does not
currently offer any cursor functionality.)
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/70d6226e4fba26765877fc3c2ec6c468d3ff4084
Modified Files
--------------
src/pl/plperl/plperl.c | 8 ++++++++
src/pl/plpython/plpy_cursorobject.c | 8 ++++++++
2 files changed, 16 insertions(+)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter_e@gmx.net
Subject: Re: pgsql: Use portal pinning in PL/Perl and PL/Python
In-Reply-To: <E1eZOaE-0001qp-0O@gemulon.postgresql.org>
References: <E1eZOaE-0001qp-0O@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox