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.92) (envelope-from ) id 1j98m6-0006by-MY for pgsql-admin@arkaria.postgresql.org; Tue, 03 Mar 2020 14:43:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j98m4-0000XT-3Y for pgsql-admin@arkaria.postgresql.org; Tue, 03 Mar 2020 14:43:56 +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 1j98m3-0000XM-Pn for pgsql-admin@lists.postgresql.org; Tue, 03 Mar 2020 14:43:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j98m0-0002Hu-Dh for pgsql-admin@lists.postgresql.org; Tue, 03 Mar 2020 14:43:54 +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 023Ehnx3032702; Tue, 3 Mar 2020 09:43:49 -0500 From: Tom Lane To: Raj kumar cc: pgsql-admin@lists.postgresql.org Subject: Re: Reg: connection is getting closed when doing select count(*) In-reply-to: References: Comments: In-reply-to Raj kumar message dated "Tue, 03 Mar 2020 15:19:29 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <32700.1583246629.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 03 Mar 2020 09:43:49 -0500 Message-ID: <32701.1583246629@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Raj kumar writes: > *I have installed Postgres12 in my Macbook. I have loaded data into the > database using pgbench. When I try to execute the command below, I am no= t > getting the output. Instead, connection is getting closed. Command and > errors are written below.* > 2020-03-03 14:59:20.868 IST [51374] STATEMENT: select count(*) from > pgbench_accounts; > 2020-03-03 14:59:25.852 IST [51363] LOG: server process (PID 51386) was > terminated by signal 9: Killed: 9 Signal 9 is pretty unusual. I'm going to guess that you used EDB's installer and the problem is with JIT compilation ... does "set jit =3D off" fix it? If so, that's a known bug that's being worked on, see https://www.postgresql.org/message-id/CA%2BOCxoz0bWi%2BR2WpocfkD20Lgrg69z1= jQ_SZd-zmdzHW0zt%2Bbg%40mail.gmail.com regards, tom lane