From dd4cd55c15886c46378dc27f44f59a6de8c4d45b Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 15 Dec 2009 22:59:55 +0000 Subject: Python 3 support in PL/Python Behaves more or less unchanged compared to Python 2, but the new language variant is called plpython3u. Documentation describing the naming scheme is included. --- src/pl/plpython/expected/plpython_trigger.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pl/plpython/expected/plpython_trigger.out') diff --git a/src/pl/plpython/expected/plpython_trigger.out b/src/pl/plpython/expected/plpython_trigger.out index cf5c758fb2..3192ff1d48 100644 --- a/src/pl/plpython/expected/plpython_trigger.out +++ b/src/pl/plpython/expected/plpython_trigger.out @@ -67,7 +67,7 @@ SELECT * FROM users; -- dump trigger data CREATE TABLE trigger_test (i int, v text ); -CREATE FUNCTION trigger_data() returns trigger language plpythonu as $$ +CREATE FUNCTION trigger_data() RETURNS trigger LANGUAGE plpythonu AS $$ if 'relid' in TD: TD['relid'] = "bogus:12345" -- cgit v1.2.1