Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 76a29ad

Browse files
committed
plpython: Remove plpythonu, plpython2u and associated transform extensions.
Since 19252e8 we reject Python 2 during build configuration. Now that the dust on the buildfarm has settled, remove extension variants specific to Python 2. Reviewed-By: Peter Eisentraut <peter@eisentraut.org> Reviewed-By: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/20211031184548.g4sxfe47n2kyi55r@alap3.anarazel.de
1 parent 5b81703 commit 76a29ad

19 files changed

+7
-191
lines changed

contrib/hstore_plpython/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ OBJS = \
66
hstore_plpython.o
77
PGFILEDESC = "hstore_plpython - hstore transform for plpython"
88

9-
EXTENSION = hstore_plpythonu hstore_plpython2u hstore_plpython3u
10-
DATA = hstore_plpythonu--1.0.sql hstore_plpython2u--1.0.sql hstore_plpython3u--1.0.sql
9+
EXTENSION = hstore_plpython3u
10+
DATA = hstore_plpython3u--1.0.sql
1111

1212
REGRESS = hstore_plpython
1313
REGRESS_PLPYTHON3_MANGLE := $(REGRESS)

contrib/hstore_plpython/hstore_plpython2u--1.0.sql

Lines changed: 0 additions & 19 deletions
This file was deleted.

contrib/hstore_plpython/hstore_plpython2u.control

Lines changed: 0 additions & 6 deletions
This file was deleted.

contrib/hstore_plpython/hstore_plpythonu--1.0.sql

Lines changed: 0 additions & 19 deletions
This file was deleted.

contrib/hstore_plpython/hstore_plpythonu.control

Lines changed: 0 additions & 6 deletions
This file was deleted.

contrib/jsonb_plpython/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ MODULE_big = jsonb_plpython$(python_majorversion)
44
OBJS = \
55
$(WIN32RES) \
66
jsonb_plpython.o
7-
PGFILEDESC = "jsonb_plpython - transform between jsonb and plpythonu"
7+
PGFILEDESC = "jsonb_plpython - jsonb transform for plpython"
88

99
PG_CPPFLAGS = -I$(top_srcdir)/src/pl/plpython $(python_includespec) -DPLPYTHON_LIBNAME='"plpython$(python_majorversion)"'
1010

11-
EXTENSION = jsonb_plpythonu jsonb_plpython2u jsonb_plpython3u
12-
DATA = jsonb_plpythonu--1.0.sql jsonb_plpython2u--1.0.sql jsonb_plpython3u--1.0.sql
11+
EXTENSION = jsonb_plpython3u
12+
DATA = jsonb_plpython3u--1.0.sql
1313

1414
REGRESS = jsonb_plpython
1515
REGRESS_PLPYTHON3_MANGLE := $(REGRESS)

contrib/jsonb_plpython/jsonb_plpython2u--1.0.sql

Lines changed: 0 additions & 19 deletions
This file was deleted.

contrib/jsonb_plpython/jsonb_plpython2u.control

Lines changed: 0 additions & 6 deletions
This file was deleted.

contrib/jsonb_plpython/jsonb_plpythonu--1.0.sql

Lines changed: 0 additions & 19 deletions
This file was deleted.

contrib/jsonb_plpython/jsonb_plpythonu.control

Lines changed: 0 additions & 6 deletions
This file was deleted.

contrib/ltree_plpython/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ OBJS = \
66
ltree_plpython.o
77
PGFILEDESC = "ltree_plpython - ltree transform for plpython"
88

9-
EXTENSION = ltree_plpythonu ltree_plpython2u ltree_plpython3u
10-
DATA = ltree_plpythonu--1.0.sql ltree_plpython2u--1.0.sql ltree_plpython3u--1.0.sql
9+
EXTENSION = ltree_plpython3u
10+
DATA = ltree_plpython3u--1.0.sql
1111

1212
REGRESS = ltree_plpython
1313
REGRESS_PLPYTHON3_MANGLE := $(REGRESS)

contrib/ltree_plpython/ltree_plpython2u--1.0.sql

Lines changed: 0 additions & 12 deletions
This file was deleted.

contrib/ltree_plpython/ltree_plpython2u.control

Lines changed: 0 additions & 6 deletions
This file was deleted.

contrib/ltree_plpython/ltree_plpythonu--1.0.sql

Lines changed: 0 additions & 12 deletions
This file was deleted.

contrib/ltree_plpython/ltree_plpythonu.control

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/pl/plpython/plpython2u--1.0.sql

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/pl/plpython/plpython2u.control

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/pl/plpython/plpythonu--1.0.sql

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/pl/plpython/plpythonu.control

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)