summaryrefslogtreecommitdiff
path: root/src/pl/plpython/expected/plpython_test.out
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-04-03 16:59:43 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-04-03 16:59:43 +0000
commitcd331e4b845f9206aa89e4f31bb75a040fef87ba (patch)
tree136ad3b7a0ebfa337e8473372a97f61a3ebdd3ba /src/pl/plpython/expected/plpython_test.out
parentaa38153d22df190397f851cfbd4506f31f44557e (diff)
downloadpostgresql-cd331e4b845f9206aa89e4f31bb75a040fef87ba.tar.gz
Defend against possible crash if a plpython function does not specify names
for its arguments. Also add a regression test, since someone apparently changed every single plpython test case to use only named parameters; else we'd have noticed this sooner. Euler Taveira de Oliveira, per a report from Alvaro
Diffstat (limited to 'src/pl/plpython/expected/plpython_test.out')
-rw-r--r--src/pl/plpython/expected/plpython_test.out8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pl/plpython/expected/plpython_test.out b/src/pl/plpython/expected/plpython_test.out
index 3bba37cf50..b84660da43 100644
--- a/src/pl/plpython/expected/plpython_test.out
+++ b/src/pl/plpython/expected/plpython_test.out
@@ -197,7 +197,13 @@ SELECT test_return_none(), test_return_none() IS NULL AS "is null";
| t
(1 row)
--- Test for functions with named parameters
+-- Test for functions with named and nameless parameters
+SELECT test_param_names0(2,7);
+ test_param_names0
+-------------------
+ 9
+(1 row)
+
SELECT test_param_names1(1,'text');
test_param_names1
-------------------