Re: BUG #15759: Lot of idle connection created by "SET extra_float_digits = 3" - Mailing list pgsql-bugs

From anup singh
Subject Re: BUG #15759: Lot of idle connection created by "SET extra_float_digits = 3"
Date
Msg-id CA+i39Pw0C6Mg290Y-7nsOkot-OFbS0TxqjfRMG6DyU=1SnehwQ@mail.gmail.com
Whole thread Raw
In response to BUG #15759: Lot of idle connection created by "SET extra_float_digits = 3"  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
Hi Tomas,

Thanks for your response. Kindly see the below screen shot where we have lot of idle connection which is reaching max pool size soon, but the actual request is only one.

image.png

On Tue, Apr 16, 2019 at 5:29 PM anup singh <midas.anup@gmail.com> wrote:
Hi Tomas,

Thanks for your response. Kindly see the below screen shot where we have lot of idle connection which is reaching max pool size soon, but the actual request is only one.
image.png


On Tue, Apr 16, 2019 at 5:15 PM Tomas Vondra <tomas.vondra@2ndquadrant.com> wrote:
On Tue, Apr 16, 2019 at 11:04:25AM +0000, PG Bug reporting form wrote:
>The following bug has been logged on the website:
>
>Bug reference:      15759
>Logged by:          anup singh
>Email address:      midas.anup@gmail.com
>PostgreSQL version: 10.7
>Operating system:   linux
>Description:
>
>Lot of idle connection created by "SET extra_float_digits = 3" which is
>killing our applicaiton.
>

SET extra_float_digits = 3 (or any other SET command) does not create any
connections at all. It's much more likely your application opens a new
connection, executes the SET command on it (so it's in pg_stat_activity)
and then goes to do something else.

If that's not the case, we need much more information. Why do you think
the SET command is creating idle connections?

regards

--
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment

pgsql-bugs by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: BUG #15759: Lot of idle connection created by "SETextra_float_digits = 3"
Next
From: Tomas Vondra
Date:
Subject: Re: BUG #15759: Lot of idle connection created by "SETextra_float_digits = 3"