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 1gkXGW-0000Yk-Mw for pgsql-bugs@arkaria.postgresql.org; Fri, 18 Jan 2019 16:45: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 1gkXGV-0003Zo-ED for pgsql-bugs@arkaria.postgresql.org; Fri, 18 Jan 2019 16:45:07 +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 1gkXGV-0003WF-7Y for pgsql-bugs@lists.postgresql.org; Fri, 18 Jan 2019 16:45:07 +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 1gkXGT-0004cI-4m for pgsql-bugs@lists.postgresql.org; Fri, 18 Jan 2019 16:45:06 +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 x0IGj2gY025294; Fri, 18 Jan 2019 11:45:02 -0500 From: Tom Lane To: mba.ogolny@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15598: PostgreSQL Error Code is not reported when connection terminated due to idle-in-transaction timeout In-reply-to: <15598-e3fec9d8c5184936@postgresql.org> References: <15598-e3fec9d8c5184936@postgresql.org> Comments: In-reply-to =?utf-8?q?PG_Bug_reporting_form?= message dated "Fri, 18 Jan 2019 15:31:25 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25291.1547829902.1@sss.pgh.pa.us> Date: Fri, 18 Jan 2019 11:45:02 -0500 Message-ID: <25293.1547829902@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =?utf-8?q?PG_Bug_reporting_form?= writes: > postgres=# SET idle_in_transaction_session_timeout=500; > SET > postgres=# BEGIN; > BEGIN > postgres=# SELECT * FROM pg_class; > FATAL: 25P03: terminating connection due to idle-in-transaction timeout > LOCATION: ProcessInterrupts, postgres.c:2996 > server closed the connection unexpectedly > This probably means the server terminated abnormally > before or while processing the request. This is not the default appearance of psql error reports. I'd venture that you are setting VERBOSITY=verbose in your environment, perhaps in ~/.psqlrc. If you want the same behavior on your Windows machine, you need to do that there too. regards, tom lane