Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WDM7W-0002x5-OY for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Feb 2014 22:48:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WDM7W-0006f2-3Y for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Feb 2014 22:48:02 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WDM7V-0006ev-3B for pgsql-bugs@postgresql.org; Tue, 11 Feb 2014 22:48:01 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WDM7S-0006kM-1N for pgsql-bugs@postgresql.org; Tue, 11 Feb 2014 22:48:00 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1WDM7R-0008RI-5h; Tue, 11 Feb 2014 17:47:57 -0500 Date: Tue, 11 Feb 2014 17:47:57 -0500 From: Bruce Momjian To: michal.wos@leonisapps.pl Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #9117: PGXAConnection - equals method returning false Message-ID: <20140211224757.GM2289@momjian.us> References: <20140206000929.26701.13312@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20140206000929.26701.13312@wrigleys.postgresql.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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 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