From: Rob Sargent <robjsargent@gmail.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: idle in transaction, why
Date: Mon, 6 Nov 2017 13:18:47 -0700
Message-ID: <e10eb101-676b-49f9-d704-b481ca0d533a@gmail.com> (raw)
In-Reply-To: <CAKFQuwaOZPo6ArqXrJ=E1jVYxV-F9=YuY8uypyY+OymuZAKKsA@mail.gmail.com>
References: <4a365db4-8608-65c8-e3dc-23524f881bc3@gmail.com>
<CAKFQuwaOZPo6ArqXrJ=E1jVYxV-F9=YuY8uypyY+OymuZAKKsA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
On 11/06/2017 01:09 PM, David G. Johnston wrote:
> On Mon, Nov 6, 2017 at 12:32 PM, Rob Sargent <robjsargent@gmail.com
> <mailto:robjsargent@gmail.com>>wrote:
>
> Using postgres 10-beta3 (hopefully 10.0 this week) on virtual
> CentOS7 and this JDBC driver postgresql:42.1.4
>
>
> The postgresql.conf file has
>
> #idle_in_transaction_session_timeout = 0 # in
> milliseconds, 0 is disabled
>
>
> There are numerous places where default settings can be configured.
>
> https://www.postgresql.org/docs/10/static/config-setting.html
>
> 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.
>
> David J.
>
From logging in with the application role I get
coon=> show idle_in_transaction_session_timeout;
idle_in_transaction_session_timeout
-------------------------------------
0
(1 row)
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: robjsargent@gmail.com, david.g.johnston@gmail.com
Subject: Re: idle in transaction, why
In-Reply-To: <e10eb101-676b-49f9-d704-b481ca0d533a@gmail.com>
References: <4a365db4-8608-65c8-e3dc-23524f881bc3@gmail.com> <CAKFQuwaOZPo6ArqXrJ=E1jVYxV-F9=YuY8uypyY+OymuZAKKsA@mail.gmail.com> <e10eb101-676b-49f9-d704-b481ca0d533a@gmail.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