Fix plpython3 expected output.
I neglected this in the previous commit that updated the plpython2 output, which I forgot to "git add" earlier. As pointed out by Rodolfo Campero and Marko Kreen.
This commit is contained in:
parent
82b43f7df2
commit
4118f7e8ed
@ -664,6 +664,9 @@ SELECT * FROM test_type_conversion_array_error();
|
|||||||
ERROR: return value of function with array return type is not a Python sequence
|
ERROR: return value of function with array return type is not a Python sequence
|
||||||
CONTEXT: while creating return value
|
CONTEXT: while creating return value
|
||||||
PL/Python function "test_type_conversion_array_error"
|
PL/Python function "test_type_conversion_array_error"
|
||||||
|
--
|
||||||
|
-- Domains over arrays
|
||||||
|
--
|
||||||
CREATE DOMAIN ordered_pair_domain AS integer[] CHECK (array_length(VALUE,1)=2 AND VALUE[1] < VALUE[2]);
|
CREATE DOMAIN ordered_pair_domain AS integer[] CHECK (array_length(VALUE,1)=2 AND VALUE[1] < VALUE[2]);
|
||||||
CREATE FUNCTION test_type_conversion_array_domain(x ordered_pair_domain) RETURNS ordered_pair_domain AS $$
|
CREATE FUNCTION test_type_conversion_array_domain(x ordered_pair_domain) RETURNS ordered_pair_domain AS $$
|
||||||
plpy.info(x, type(x))
|
plpy.info(x, type(x))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user