Re: BUG #9117: PGXAConnection - equals method returning false

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: michal(dot)wos(at)leonisapps(dot)pl
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #9117: PGXAConnection - equals method returning false
Date: 2014-02-11 22:47:57
Message-ID: 20140211224757.GM2289@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Feb 6, 2014 at 12:09:29AM +0000, michal(dot)wos(at)leonisapps(dot)pl wrote:
> The following bug has been logged on the website:
>
> Bug reference: 9117
> Logged by: Michał Woś
> Email address: michal(dot)wos(at)leonisapps(dot)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(at)postgresql(dot)org(dot) Thanks.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tomas Vondra 2014-02-11 23:00:42 Re: BUG #9182: Data type (text) issue with MS SQL 2012
Previous Message dvitek 2014-02-11 22:29:06 BUG #9190: Could not fsync file "pg_clog/0000": Bad file descriptor.