BUG #15957: Connection event listener not called during close() - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #15957: Connection event listener not called during close()
Date
Msg-id 15957-bd58646b1e47f90b@postgresql.org
Whole thread Raw
Responses Re: BUG #15957: Connection event listener not called during close()  (Dave Cramer <davecramer@gmail.com>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      15957
Logged by:          Prakash Prabhu Bantwal
Email address:      prakashprabhu87@gmail.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.


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #15956: Server closed unexpectedly for user-defined base type LIKE char
Next
From: Keith
Date:
Subject: Re: BUG #15947: Worse plan is chosen after giving the planner morefreedom (partitionwise join)