Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iMZBE-0002Ul-5x for pgsql-bugs@arkaria.postgresql.org; Mon, 21 Oct 2019 15:01:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iMZBA-000414-P9 for pgsql-bugs@arkaria.postgresql.org; Mon, 21 Oct 2019 15:01:04 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1iMZBA-00040E-HI for pgsql-bugs@lists.postgresql.org; Mon, 21 Oct 2019 15:01:04 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iMZB7-0000MA-KO for pgsql-bugs@lists.postgresql.org; Mon, 21 Oct 2019 15:01:03 +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 x9LF0uxU004696; Mon, 21 Oct 2019 11:00:56 -0400 From: Tom Lane To: isaac.open@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16071: Server crashes when 'numeric' data type is used on any plpython Function In-reply-to: <16071-051c0170b04b1a6d@postgresql.org> References: <16071-051c0170b04b1a6d@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Mon, 21 Oct 2019 06:33:25 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4694.1571670056.1@sss.pgh.pa.us> Date: Mon, 21 Oct 2019 11:00:56 -0400 Message-ID: <4695.1571670056@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Bug reporting form writes: > # Steps to Reproduce > Install extension plpython3u > Create function using data type numeric as an input, may be unique input or > in combination with other data types. > Use Function in query such as SELECT or UPDATE. Hm. The given test case works fine for me, using python 3.7.4 on a Fedora 30 installation. I suspect some oddness in your python installation, maybe there are unusual components in it? regards, tom lane