pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Ishan Joshi <Ishan.Joshi@amdocs.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: idle_in_transaction_session_timeout not getting log in PG v12.2
Date: Tue, 19 May 2020 10:13:56 -0700
Message-ID: <8cbc8fbd-fbb4-ec0d-5fbe-3b29d0ab1552@aklaver.com> (raw)
In-Reply-To: <AM6PR0602MB3398CEC07A032942E25B100086B90@AM6PR0602MB3398.eurprd06.prod.outlook.com>
References: <AM6PR0602MB33981FBE061CD537172D4D2C86B90@AM6PR0602MB3398.eurprd06.prod.outlook.com>
	<bd30cd2e-98fd-f9c5-1c1e-20127339dafc@aklaver.com>
	<AM6PR0602MB3398B2FEA02F0A63A0634E3386B90@AM6PR0602MB3398.eurprd06.prod.outlook.com>
	<cdde3fbb-8e6f-bf5a-4e34-e6ee73212bb1@aklaver.com>
	<AM6PR0602MB33986780E2DA8FB117818C7586B90@AM6PR0602MB3398.eurprd06.prod.outlook.com>
	<5d7896b5-15f9-d5ed-5338-04ba1910c6dd@aklaver.com>
	<AM6PR0602MB3398CEC07A032942E25B100086B90@AM6PR0602MB3398.eurprd06.prod.outlook.com>

On 5/19/20 8:07 AM, Ishan Joshi wrote:
> Hi Adrian,
> 
> 1) What OS and version and did it change between 11 and 12? --> it is 
> cent os 7 an both v11.5 and v12.2 are on same server.
> 
> 2) How are you starting the server and did that change?  --> through 
> systemctl start postgresql-12
> 
> 3) When did you copy the 11 *.conf files over and did you restart the 12 
> server after? --> copy and restart the server 12
> 
> 4) What is being logged to the file e.g. connections/disconnects, etc? 
> --> yes these are getting logged

Just an FYI it worked on 12.2 and 12.3 instances on my machines:

--2020-05-19 10:01:22.489 PDT-0LOG:  parameter 
"idle_in_transaction_session_timeout" changed to "30s"
[unknown]-[unknown]-2020-05-19 10:01:46.970 PDT-0LOG:  connection 
received: host=[local]
[unknown]-aklaver-2020-05-19 10:01:46.971 PDT-0LOG:  connection 
authorized: user=aklaver database=task_manager application_name=psql
psql-aklaver-2020-05-19 10:02:22.869 PDT-0FATAL:  terminating connection 
due to idle-in-transaction timeout
psql-aklaver-2020-05-19 10:02:22.869 PDT-0LOG:  disconnection: session 
time: 0:00:35.899 user=aklaver database=task_manager host=[local]

> 
> Thanks & Regards,
> 
> Ishan Joshi
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (9+ messages)

Message-ID: <8cbc8fbd-fbb4-ec0d-5fbe-3b29d0ab1552@aklaver.com>
Permalink:  ../8cbc8fbd-fbb4-ec0d-5fbe-3b29d0ab1552@aklaver.com/
Also on:    postgresql.org/message-id/8cbc8fbd-fbb4-ec0d-5fbe-3b29d0ab1552@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, Ishan.Joshi@amdocs.com
  Subject: Re: idle_in_transaction_session_timeout not getting log in PG v12.2
  In-Reply-To: <8cbc8fbd-fbb4-ec0d-5fbe-3b29d0ab1552@aklaver.com>
  References: <AM6PR0602MB33981FBE061CD537172D4D2C86B90@AM6PR0602MB3398.eurprd06.prod.outlook.com> <bd30cd2e-98fd-f9c5-1c1e-20127339dafc@aklaver.com> <AM6PR0602MB3398B2FEA02F0A63A0634E3386B90@AM6PR0602MB3398.eurprd06.prod.outlook.com> <cdde3fbb-8e6f-bf5a-4e34-e6ee73212bb1@aklaver.com> <AM6PR0602MB33986780E2DA8FB117818C7586B90@AM6PR0602MB3398.eurprd06.prod.outlook.com> <5d7896b5-15f9-d5ed-5338-04ba1910c6dd@aklaver.com> <AM6PR0602MB3398CEC07A032942E25B100086B90@AM6PR0602MB3398.eurprd06.prod.outlook.com> <8cbc8fbd-fbb4-ec0d-5fbe-3b29d0ab1552@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox