Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g1u8K-0002Cn-RU for pgsql-admin@arkaria.postgresql.org; Mon, 17 Sep 2018 14:04:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g1u8J-0005QX-7z for pgsql-admin@arkaria.postgresql.org; Mon, 17 Sep 2018 14:04:11 +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.89) (envelope-from ) id 1g1u8J-0005QP-0a for pgsql-admin@lists.postgresql.org; Mon, 17 Sep 2018 14:04:11 +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.89) (envelope-from ) id 1g1u8F-0001Sn-OR for pgsql-admin@lists.postgresql.org; Mon, 17 Sep 2018 14:04:10 +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 w8HE45p3018074; Mon, 17 Sep 2018 10:04:05 -0400 From: Tom Lane To: Mariel Cherkassky cc: pgsql-admin@lists.postgresql.org Subject: Re: Segmentation fault postgres 9.6 In-reply-to: References: Comments: In-reply-to Mariel Cherkassky message dated "Mon, 17 Sep 2018 15:15:44 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18072.1537193045.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 17 Sep 2018 10:04:05 -0400 Message-ID: <18073.1537193045@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Mariel Cherkassky writes: > I'm trying to insert a few values into a foreign table via sqllite_fdw a= nd > my postgresql database crushes : > ... > any idea how can I investigate if the problem in the wrapper or in the > database ? Get a stack trace: https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_= backend If the trace shows that the failure occurred in code of the wrapper, I'd definitely blame the wrapper. If sqllite_fdw is nowhere to be seen anywhere in the trace, then it's more debatable. regards, tom lane