regression.diffs

text/plain

Filename: regression.diffs
Type: text/plain
Part: 0
Message: Re: PL/Python array support
*** /home/josh/devel/pgsrc/pg85/src/pl/plpython/expected/plpython_types.out	2009-12-01 20:39:52.000000000 -0700
--- /home/josh/devel/pgsrc/pg85/src/pl/plpython/results/plpython_types.out	2009-12-01 20:40:04.000000000 -0700
***************
*** 580,582 ****
--- 580,589 ----
   {abc,def}
  (1 row)
  
+ CREATE FUNCTION test_type_conversion_array_error() RETURNS int[] AS $$
+ return 5
+ $$ LANGUAGE plpythonu;
+ SELECT * FROM test_type_conversion_array_error();
+ ERROR:  PL/Python: return value of function with array return type is not a Python sequence
+ CONTEXT:  while creating return value
+ PL/Python function "test_type_conversion_array_error"

======================================================================