pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: ppmichalakk@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13579: Server crashes after executing plpythonu function
Date: Fri, 21 Aug 2015 12:28:33 -0400
Message-ID: <25056.1440174513@sss.pgh.pa.us> (raw)
In-Reply-To: <20150819144851.31530.41021@wrigleys.postgresql.org>
References: <20150819144851.31530.41021@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)

Message-ID: <25056.1440174513@sss.pgh.pa.us>
Permalink:  ../25056.1440174513@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25056.1440174513@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ppmichalakk@gmail.com
  Subject: Re: BUG #13579: Server crashes after executing plpythonu function
  In-Reply-To: <25056.1440174513@sss.pgh.pa.us>
  References: <20150819144851.31530.41021@wrigleys.postgresql.org> <25056.1440174513@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox