summaryrefslogtreecommitdiff
path: root/src/pl/plpython/sql/plpython_void.sql
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2022-03-07 18:19:56 -0800
committerAndres Freund <andres@anarazel.de>2022-03-07 18:20:51 -0800
commitdb23464715f4792298c639153dda7bfd9ad9d602 (patch)
tree57db9275a7ea3b84fab2d8c65153710e9465465a /src/pl/plpython/sql/plpython_void.sql
parent76a29adee749f41e277459cbf2e47a2ff7777f31 (diff)
downloadpostgresql-db23464715f4792298c639153dda7bfd9ad9d602.tar.gz
plpython: Remove regression test infrastructure for Python 2.
Since 19252e8ec93 we reject Python 2 during build configuration. Now that the dust on the buildfarm has settled, remove regression testing infrastructure dealing with differing output between Python 2 / 3. 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
Diffstat (limited to 'src/pl/plpython/sql/plpython_void.sql')
-rw-r--r--src/pl/plpython/sql/plpython_void.sql6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pl/plpython/sql/plpython_void.sql b/src/pl/plpython/sql/plpython_void.sql
index 77d7f59e4c..5a1a6711fb 100644
--- a/src/pl/plpython/sql/plpython_void.sql
+++ b/src/pl/plpython/sql/plpython_void.sql
@@ -4,16 +4,16 @@
CREATE FUNCTION test_void_func1() RETURNS void AS $$
x = 10
-$$ LANGUAGE plpythonu;
+$$ LANGUAGE plpython3u;
-- illegal: can't return non-None value in void-returning func
CREATE FUNCTION test_void_func2() RETURNS void AS $$
return 10
-$$ LANGUAGE plpythonu;
+$$ LANGUAGE plpython3u;
CREATE FUNCTION test_return_none() RETURNS int AS $$
None
-$$ LANGUAGE plpythonu;
+$$ LANGUAGE plpython3u;
-- Tests for functions returning void