From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: PL/Python: Fix tests for older Python versions
Date: Mon, 22 Jan 2018 17:11:30 +0000
Message-ID: <E1edfd4-0000XI-IN@gemulon.postgresql.org> (raw)
PL/Python: Fix tests for older Python versions
Commit 8561e4840c81f7e345be2df170839846814fa004 neglected to handle
older Python versions that don't support the "with" statement. So write
the tests in a way that older versions can handle as well.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f498704346a4ce4953fc5f837cacb545b3166ee1
Modified Files
--------------
src/pl/plpython/expected/plpython_transaction.out | 5 +++--
src/pl/plpython/sql/plpython_transaction.sql | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
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: PL/Python: Fix tests for older Python versions
In-Reply-To: <E1edfd4-0000XI-IN@gemulon.postgresql.org>
References: <E1edfd4-0000XI-IN@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