Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSpBX-0007vR-N1 for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Aug 2015 16:28:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZSpBX-0007yM-8n for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Aug 2015 16:28:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZSpBM-0007xM-8j for pgsql-bugs@postgresql.org; Fri, 21 Aug 2015 16:28:44 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZSpBE-0000ww-HF for pgsql-bugs@postgresql.org; Fri, 21 Aug 2015 16:28:43 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t7LGSXDM025057; Fri, 21 Aug 2015 12:28:33 -0400 From: Tom Lane To: ppmichalakk@gmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #13579: Server crashes after executing plpythonu function In-reply-to: <20150819144851.31530.41021@wrigleys.postgresql.org> References: <20150819144851.31530.41021@wrigleys.postgresql.org> Comments: In-reply-to ppmichalakk@gmail.com message dated "Wed, 19 Aug 2015 14:48:51 -0000" Date: Fri, 21 Aug 2015 12:28:33 -0400 Message-ID: <25056.1440174513@sss.pgh.pa.us> X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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