Re: BUG #13579: Server crashes after executing plpythonu function - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #13579: Server crashes after executing plpythonu function
Date
Msg-id 25056.1440174513@sss.pgh.pa.us
Whole thread Raw
In response to BUG #13579: Server crashes after executing plpythonu function  (ppmichalakk@gmail.com)
List pgsql-bugs
ppmichalakk@gmail.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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #13583: Documentation "5.8.2. The Public Schema" misleading
Next
From: Heikki Linnakangas
Date:
Subject: Re: BUG #12379: pgbench should hint to pgbench -i