pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #9117: PGXAConnection - equals method returning false
2+ messages / 2 participants
[nested] [flat]

* BUG #9117: PGXAConnection - equals method returning false
@ 2014-02-06 00:09 michal.wos@leonisapps.pl
  2014-02-11 22:47 ` Re: BUG #9117: PGXAConnection - equals method returning false Bruce Momjian <bruce@momjian.us>
  0 siblings, 1 reply; 2+ messages in thread

From: michal.wos@leonisapps.pl @ 2014-02-06 00:09 UTC (permalink / raw)
  To: pgsql-bugs

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.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #9117: PGXAConnection - equals method returning false
  2014-02-06 00:09 BUG #9117: PGXAConnection - equals method returning false michal.wos@leonisapps.pl
@ 2014-02-11 22:47 ` Bruce Momjian <bruce@momjian.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2014-02-11 22:47 UTC (permalink / raw)
  To: michal.wos@leonisapps.pl; +Cc: 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. +


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2014-02-11 22:47 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-02-06 00:09 BUG #9117: PGXAConnection - equals method returning false michal.wos@leonisapps.pl
2014-02-11 22:47 ` Bruce Momjian <bruce@momjian.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox