Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBnqE-0000uW-KD for pgsql-general@arkaria.postgresql.org; Mon, 06 Nov 2017 20:17:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eBnqE-0005vc-5B for pgsql-general@arkaria.postgresql.org; Mon, 06 Nov 2017 20:17:54 +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 1eBnqD-0005vL-GR for pgsql-general@postgresql.org; Mon, 06 Nov 2017 20:17:53 +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.84_2) (envelope-from ) id 1eBnqA-0006Ob-Cl for pgsql-general@postgresql.org; Mon, 06 Nov 2017 20:17:52 +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 vA6KHlr8016894; Mon, 6 Nov 2017 15:17:47 -0500 From: Tom Lane To: "David G. Johnston" cc: Rob Sargent , "pgsql-general@postgresql.org" Subject: Re: idle in transaction, why In-reply-to: References: <4a365db4-8608-65c8-e3dc-23524f881bc3@gmail.com> Comments: In-reply-to "David G. Johnston" message dated "Mon, 06 Nov 2017 13:09:27 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16892.1509999467.1@sss.pgh.pa.us> Date: Mon, 06 Nov 2017 15:17:47 -0500 Message-ID: <16893.1509999467@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org "David G. Johnston" writes: > You should probably login as your application user and do "show > idle_in_transaction_session_timeout" to see what a clean session has for a > value and then figure out from there where that value is coming from. You don't have to guess about the latter: the pg_settings view will tell you exactly where the active value came from. See the source, sourcefile, sourceline columns. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general