Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jb2lH-0002C4-GT for pgsql-general@arkaria.postgresql.org; Tue, 19 May 2020 13:58:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jb2lF-00049F-KN for pgsql-general@arkaria.postgresql.org; Tue, 19 May 2020 13:58:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jb2lD-00048Y-Rk for pgsql-general@lists.postgresql.org; Tue, 19 May 2020 13:58:25 +0000 Received: from [64.147.123.24] (helo=wout1-smtp.messagingengine.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jb2l9-0004uF-K7 for pgsql-general@postgresql.org; Tue, 19 May 2020 13:58:23 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 29B598B1; Tue, 19 May 2020 09:58:07 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 19 May 2020 09:58:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=z uUkJxM180sDOj2zpoNknpKUuK5nWuzT8csJJYxGOMM=; b=iIPliokhFz033p+gn VrVNzX6OYKT+xURvcxhu/qXyetmoIw+umNBVJFYL28XU++BKDswvJOimkfgRtVF5 /IQMSakvPfwm+4HvslmjZ5B0AAjXvW8aP4sowlGnAZtP5yTuTpvym63bIRlKxfkE E/0T4MMxcP/MHBg8drdnuoskNSyg/Il0s7rht9kBMpqALc7FelpW7w95KdQtzr2j 9idJSOz78wallTzwp843pUeCPoV9pk8NJ74QBE82nF3SYACuEtHPt3RgZvT53SON HWc0ZQDhFV5ny6mBu3lMWbNBLlfz8Es0ivDR+fOWUsNjqzq4bf+1TWTJ2I/f4IhL uW3Rw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=zuUkJxM180sDOj2zpoNknpKUuK5nWuzT8csJJYxGO MM=; b=bE0p5omxDf4sjkp6vMe3rUYAFbQ3m+tDJCtMoiAit0DT3z72VmNsmSReO 2dYQbsKgyP2HutCV90STSJcu6RI45iudoUi8W2IhvmPbqNQiGHxRoiWSzQvB1yD4 i7Pw6gZR48GpDqyE5zR2Nb1doYSOJWD6Z8eljKYZKvpA2gZX0ZEObFjhh8W0oOOQ S3jfEsnyTnswpGXIjIFC/IbmRdPjtWLgivwzM6SQr7Zj/NKwM34eN0KW1B1CCoI9 qMg8ZA/Fm8VnusbO/oHD8EgNv7AST67XC+o/VnyJsvpyM6XSlFElfFkGeaxhRfUS PB+uX5AQKAY5QXCeBJ1qjsmxNhXKA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddtjedgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefheenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeejleduhfeikeejvdehiedukeeihedtgeefjeegieeu keevkeeileefteegudekhfenucffohhmrghinheprghmughotghsrdgtohhmnecukfhppe ejhedrudejvddrhedrvdefudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id D38003280060; Tue, 19 May 2020 09:58:05 -0400 (EDT) Subject: Re: idle_in_transaction_session_timeout not getting log in PG v12.2 To: Ishan Joshi , "pgsql-general@postgresql.org" References: From: Adrian Klaver Message-ID: Date: Tue, 19 May 2020 06:58:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 64.147.123.24 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 5/19/20 2:08 AM, Ishan Joshi wrote: > Hi Team, > > I have set idle_in_transaction_session_timeout on user level and it is > set for 5 min. I can see after 5 min the session with “idle in > transaction” state got killed and it log the details in postgresql log > file with “FATAL: terminating connection due to idle-in-transaction > timeout” in v11.5 > > But I have testing the same in v12.2, The session getting killed with > state “idle in transaction”  but the log is not generated in postgresql > log file. > > Is there any specific changes related to this for v12.2 or any > additional parameters need to set for generating logs. Looking at code in ~/backend/tcop/postgres.c it has not changed. Are you reusing the same *.conf in 12 as you did in 11? What are your logging settings? > > Thanks & Regards, > > Ishan Joshi > > *This email and the information contained herein is proprietary and > confidential and subject to the Amdocs Email Terms of Service, which you > may review at**https://www.amdocs.com/about/email-terms-of-service* > -- Adrian Klaver adrian.klaver@aklaver.com