postgresql/contrib/jsonb_plpython
Richard Guo 309dc4526d Use plpythonu in plpython tests added by commit 0b7719f74
Commit 0b7719f74 added regression tests that spell the language name
as plpython3u.  That works on the master branch, but on v14 the
plpython tests must use the unversioned name plpythonu: the plpython3u
extension is built only in Python 3 builds, and for those builds
regress-python3-mangle.mk rewrites plpythonu to plpython3u in the test
files.  In a Python 2 build the new tests instead failed with
"language \"plpython3u\" does not exist".

Spell the language as plpythonu in the new tests, matching every other
plpython test in this branch, so they work in both Python 2 and Python
3 builds.  This is needed only in v14; later branches no longer
support Python 2 and have dropped the mangling step.

Per buildfarm member hippopotamus.
2026-06-29 14:21:15 +09:00
..
expected Use plpythonu in plpython tests added by commit 0b7719f74 2026-06-29 14:21:15 +09:00
sql Use plpythonu in plpython tests added by commit 0b7719f74 2026-06-29 14:21:15 +09:00
.gitignore Transforms for jsonb to PL/Python 2018-03-28 08:37:18 -04:00
jsonb_plpython.c plpython: Fix NULL pointer dereferences for broken sequence and mapping objects 2026-06-29 11:44:35 +09:00
jsonb_plpython2u--1.0.sql Transforms for jsonb to PL/Python 2018-03-28 08:37:18 -04:00
jsonb_plpython2u.control Transforms for jsonb to PL/Python 2018-03-28 08:37:18 -04:00
jsonb_plpython3u--1.0.sql Transforms for jsonb to PL/Python 2018-03-28 08:37:18 -04:00
jsonb_plpython3u.control Transforms for jsonb to PL/Python 2018-03-28 08:37:18 -04:00
jsonb_plpythonu--1.0.sql Transforms for jsonb to PL/Python 2018-03-28 08:37:18 -04:00
jsonb_plpythonu.control Transforms for jsonb to PL/Python 2018-03-28 08:37:18 -04:00
Makefile Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00