From bdc7dd6799ce6effc48de58ca9ecbec82461d8b6 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 3 May 2008 02:47:48 +0000 Subject: Fix plpython to not get totally confused by OUT arguments. (It still doesn't support multiple OUT arguments, though.) Hannu Krosing --- src/pl/plpython/expected/plpython_function.out | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/pl/plpython/expected/plpython_function.out') diff --git a/src/pl/plpython/expected/plpython_function.out b/src/pl/plpython/expected/plpython_function.out index e1ffa7302d..4ace0445d9 100644 --- a/src/pl/plpython/expected/plpython_function.out +++ b/src/pl/plpython/expected/plpython_function.out @@ -436,3 +436,14 @@ elif typ == 'obj': type_record.second = second return type_record $$ LANGUAGE plpythonu; +CREATE FUNCTION test_in_out_params(first in text, second out text) AS $$ +return first + '_in_to_out'; +$$ LANGUAGE plpythonu; +-- this doesn't work yet :-( +CREATE FUNCTION test_in_out_params_multi(first in text, + second out text, third out text) AS $$ +return first + '_record_in_to_out'; +$$ LANGUAGE plpythonu; +CREATE FUNCTION test_inout_params(first inout text) AS $$ +return first + '_inout'; +$$ LANGUAGE plpythonu; -- cgit v1.2.1