BUG #13579: Server crashes after executing plpythonu function

From: ppmichalakk(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #13579: Server crashes after executing plpythonu function
Date: 2015-08-19 14:48:51
Message-ID: 20150819144851.31530.41021@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 13579
Logged by: Paweł Michalak
Email address: ppmichalakk(at)gmail(dot)com
PostgreSQL version: 9.4.4
Operating system: Debian 4.6.3-14
Description:

[pmichalak(at)asdasd ~] $ psql
psql (9.4.4)
Type "help" for help.
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.

Server log:
STATEMENT: select * from a() as (b integer, c integer);
ERROR: syntax error at or near "," at character 30
STATEMENT: select * from q() as (b integer, c integer);
LOG: server process (PID 14767) was terminated by signal 11: Segmentation
fault
DETAIL: Failed process was running: select * from a() as (b integer, c
integer);
LOG: terminating any other active server processes

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2015-08-19 15:28:52 Re: BUG #13579: Server crashes after executing plpythonu function
Previous Message 德哥 2015-08-19 03:11:17 Re: BUG #13578: use cipher=NULL-SHA256 error when connect