Re: BUG #9117: PGXAConnection - equals method returning false - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: BUG #9117: PGXAConnection - equals method returning false
Date
Msg-id 20140211224757.GM2289@momjian.us
Whole thread Raw
In response to BUG #9117: PGXAConnection - equals method returning false  (michal.wos@leonisapps.pl)
List pgsql-bugs
On Thu, Feb  6, 2014 at 12:09:29AM +0000, michal.wos@leonisapps.pl wrote:
> The following bug has been logged on the website:
>
> Bug reference:      9117
> Logged by:          Michał Woś
> Email address:      michal.wos@leonisapps.pl
> PostgreSQL version: 9.3.2
> Operating system:   All OS
> Description:
>
> PGXAConnection - equals method is not working. It returns false due to
> wrapping connection into Proxy object. Second argument of invoke is not
> unwrapped so we have:
>
> unwrapped_connection.equals(wrapped_connection)
>
> Correct implementation can be found in AbstractJdbc23PooledConnection class.
> It compares wrapped objects.

Is this a JDBC bug?  If so, please email the JDBC email list,
pgsql-jdbc@postgresql.org.  Thanks.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +

pgsql-bugs by date:

Previous
From: dvitek@grammatech.com
Date:
Subject: BUG #9190: Could not fsync file "pg_clog/0000": Bad file descriptor.
Next
From: Tomas Vondra
Date:
Subject: Re: BUG #9182: Data type (text) issue with MS SQL 2012