Re: BUG #13579: Server crashes after executing plpythonu function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ppmichalakk(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #13579: Server crashes after executing plpythonu function
Date: 2015-08-21 16:28:33
Message-ID: 25056.1440174513@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

ppmichalakk(at)gmail(dot)com writes:
> pmichalak=# create function a() returns setof record as $$
> return { 'a': 2, 'b': 3 }
> $$ language plpythonu;
> CREATE FUNCTION
> pmichalak=# select * from a() as (b integer, c integer);
> ERROR: input of anonymous composite types is not implemented
> CONTEXT: while creating return value
> PL/Python function "a"
> pmichalak=# select * from a() as (b integer, c integer);
> server closed the connection unexpectedly
> This probably means the server terminated abnormally
> before or while processing the request.
> The connection to the server was lost. Attempting reset: Failed.

Fixed, thanks for the report!

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2015-08-22 13:28:56 Re: BUG #12379: pgbench should hint to pgbench -i
Previous Message Tom Lane 2015-08-20 21:44:06 Re: BUG #13583: Documentation "5.8.2. The Public Schema" misleading