Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZS4vA-0001Kh-2Z for pgsql-bugs@arkaria.postgresql.org; Wed, 19 Aug 2015 15:04:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZS4v9-0001IQ-Jp for pgsql-bugs@arkaria.postgresql.org; Wed, 19 Aug 2015 15:04: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 1ZS4fu-0002LR-3D for pgsql-bugs@postgresql.org; Wed, 19 Aug 2015 14:49:10 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZS4fn-0002oF-KQ for pgsql-bugs@postgresql.org; Wed, 19 Aug 2015 14:49:09 +0000 MIME-Version: 1.0 Subject: BUG #13579: Server crashes after executing plpythonu function To: pgsql-bugs@postgresql.org From: ppmichalakk@gmail.com Date: Wed, 19 Aug 2015 14:48:51 +0000 Message-ID: <20150819144851.31530.41021@wrigleys.postgresql.org> X-Pg-Spam-Score: -0.3 (/) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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 The following bug has been logged on the website: Bug reference: 13579 Logged by: Paweł Michalak Email address: ppmichalakk@gmail.com PostgreSQL version: 9.4.4 Operating system: Debian 4.6.3-14 Description: [pmichalak@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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs