Re: Patch to improve Cloneable implementation on classes which extend PGobject.

From: Russell Francis <rfrancis(at)ev(dot)net>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Patch to improve Cloneable implementation on classes which extend PGobject.
Date: 2007-07-16 11:41:40
Message-ID: 469B5974.30705@ev.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kalle Hallivuori 2007-07-16 14:49:14 Re: Stream Copy for 8.1 - 8.3dev
Previous Message Marek Lewczuk 2007-07-16 09:12:11 Re: patch - support for multi-dimensional arrays and NULL values