BUG #15957: Connection event listener not called during close()

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: prakashprabhu87(at)gmail(dot)com
Subject: BUG #15957: Connection event listener not called during close()
Date: 2019-08-13 22:36:49
Message-ID: 15957-bd58646b1e47f90b@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 15957
Logged by: Prakash Prabhu Bantwal
Email address: prakashprabhu87(at)gmail(dot)com
PostgreSQL version: Unsupported/Unknown
Operating system: linux
Description:

Hi,

Testing with version

<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.5</version>
</dependency>

I am using postgres with hibernate and during the close() call from the Jdbc
template is called, the connectionClosed() from the event listner is not
being called. i see the listener is being invoked from
fireConnectionClosed() but this should also be invoked from close() method.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Keith 2019-08-14 00:46:16 Re: BUG #15947: Worse plan is chosen after giving the planner more freedom (partitionwise join)
Previous Message Tom Lane 2019-08-13 21:48:20 Re: BUG #15956: Server closed unexpectedly for user-defined base type LIKE char