| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Simplify some SPI tests of PL/Python |
| Date: | 2024-11-25 00:43:28 |
| Message-ID: | E1tFNCK-003O1M-Nh@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Simplify some SPI tests of PL/Python
These tests relied on both next() and __next__(), but only the former is
needed since Python 2 support has been removed, so let's simplify a bit
the tests.
Author: Erik Wienhold
Discussion: https://postgr.es/m/173209043143.2092749.13692266486972491694@wrigleys.postgresql.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/db80507d98462d95f2f7f8c1a58e55bb6337c3eb
Modified Files
--------------
src/pl/plpython/expected/plpython_spi.out | 23 +++++------------------
src/pl/plpython/sql/plpython_spi.sql | 23 +++++------------------
2 files changed, 10 insertions(+), 36 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Kapila | 2024-11-25 05:55:54 | pgsql: Doc: Clarify the `inactive_since` field description. |
| Previous Message | Michael Paquier | 2024-11-25 00:16:25 | pgsql: doc: Fix example with __next__() in PL/Python function |