Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHfpr-0002JN-0D for pgsql-general@arkaria.postgresql.org; Thu, 23 Nov 2017 00:57:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHfpq-0003qk-93 for pgsql-general@arkaria.postgresql.org; Thu, 23 Nov 2017 00:57:46 +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_2) (envelope-from ) id 1eHfpq-0003qZ-1o for pgsql-general@lists.postgresql.org; Thu, 23 Nov 2017 00:57:46 +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 1eHfpj-0004rD-GI for pgsql-general@postgresql.org; Thu, 23 Nov 2017 00:57:42 +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 vAN0vagB015045; Wed, 22 Nov 2017 19:57:36 -0500 From: Tom Lane To: Tomas Vondra cc: Neto pr , pgsql-general@postgresql.org Subject: Re: query causes connection termination In-reply-to: References: Comments: In-reply-to Tomas Vondra message dated "Thu, 23 Nov 2017 01:32:20 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15043.1511398656.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 22 Nov 2017 19:57:36 -0500 Message-ID: <15044.1511398656@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Tomas Vondra writes: > On 11/23/2017 01:25 AM, Neto pr wrote: >> Anyone have any tips on why this occurs? > Attach gdb to the backend, run the query and when it fails get us the > backtrace. So something like More details on that here: https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_= backend regards, tom lane