From: Heikki Linnakangas Date: Wed, 26 Oct 2016 08:18:04 +0000 (+0300) Subject: Fix regression test to also work with Python 2. X-Git-Tag: REL_10_BETA1~1504 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e131ba4fe58123ce5726c1405486913b429c068c;p=postgresql Fix regression test to also work with Python 2. Per buildfarm. --- diff --git a/src/pl/plpython/expected/plpython_composite.out b/src/pl/plpython/expected/plpython_composite.out index c6964841fb..7fc6a928e7 100644 --- a/src/pl/plpython/expected/plpython_composite.out +++ b/src/pl/plpython/expected/plpython_composite.out @@ -572,7 +572,7 @@ SELECT * FROM return_record_2('v3') AS (v1 int, v2 int, v3 int); -- multi-dimensional array of composite types. CREATE FUNCTION composite_type_as_list() RETURNS type_record[] AS $$ return [[('first', 1), ('second', 1)], [('first', 2), ('second', 2)], [('first', 3), ('second', 3)]]; -$$ LANGUAGE plpython3u; +$$ LANGUAGE plpythonu; SELECT * FROM composite_type_as_list(); composite_type_as_list ------------------------------------------------------------------------------------