Re: PL/Python: domain over array support - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: PL/Python: domain over array support
Date
Msg-id 1385485627.60620.YahooMailNeo@web162903.mail.bf1.yahoo.com
Whole thread Raw
In response to Re: PL/Python: domain over array support  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: PL/Python: domain over array support  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-hackers
Heikki Linnakangas <hlinnakangas@vmware.com> wrote:

> Ok, committed.

make check-world failure:

*** /home/kgrittn/pg/master/src/pl/plpython/expected/plpython_types.out 2013-11-26 10:52:04.173441894 -0600
--- /home/kgrittn/pg/master/src/pl/plpython/results/plpython_types.out  2013-11-26 10:55:58.229445970 -0600
***************
*** 664,669 ****
--- 664,672 ----
  ERROR:  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"
+ --
+ -- Domains over arrays
+ --
  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 $$
  plpy.info(x, type(x))

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

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: Suggestion: Issue warning when calling SET TRANSACTION outside transaction block
Next
From: Dimitri Fontaine
Date:
Subject: Re: [PATCH] Add transforms feature