Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 667D69FB317 for ; Mon, 16 Jul 2007 08:49:02 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 97400-08 for ; Mon, 16 Jul 2007 08:48:50 -0300 (ADT) X-Greylist: delayed 00:07:06.34621 by SQLgrey-1.7.5 Received: from smtp140.iad.emailsrvr.com (smtp140.iad.emailsrvr.com [207.97.245.140]) by postgresql.org (Postfix) with ESMTP id 291969FB1B7 for ; Mon, 16 Jul 2007 08:48:59 -0300 (ADT) Received: by relay4.r5.iad.mlsrvr.com (Authenticated sender: rfrancis-AT-ev.net) with ESMTP id 038ADF36F; Mon, 16 Jul 2007 07:41:41 -0400 (EDT) Message-ID: <469B5974.30705@ev.net> Date: Mon, 16 Jul 2007 07:41:40 -0400 From: Russell Francis Organization: Electronic Vision User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: Kris Jurka CC: pgsql-jdbc@postgresql.org Subject: Re: Patch to improve Cloneable implementation on classes which extend PGobject. References: <467EA134.6050602@ev.net> In-Reply-To: X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200707/72 X-Sequence-Number: 17246 Kris Jurka wrote: > > On Sun, 24 Jun 2007, Russell Francis wrote: > >> The attached patch aims to improve the current implementation of the >> clone() method on classes which extend PGobject. > > Makes sense, but why are you providing clone implementations in point, > money, interval and NullObject instances? Shouldn't this already be > handled by PGObject's implementation? Yes, in all of those cases the clone() implementation in PGobject would do what is expected. I suppose I provided the method declarations and trivial implementations for clarity but they are not needed. Thanks, Russ