pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Russell Francis <rfrancis@ev.net>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Patch to improve Cloneable implementation on classes which extend PGobject.
Date: Mon, 16 Jul 2007 07:41:40 -0400
Message-ID: <469B5974.30705@ev.net> (raw)
In-Reply-To: <Pine.BSO.4.64.0707160010500.23154@leary.csoft.net>
References: <467EA134.6050602@ev.net>
	<Pine.BSO.4.64.0707160010500.23154@leary.csoft.net>

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



view thread (4+ messages)  latest in thread

Message-ID: <469B5974.30705@ev.net>
Permalink:  ../469B5974.30705@ev.net/
Also on:    postgresql.org/message-id/469B5974.30705@ev.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: rfrancis@ev.net, books@ejurka.com
  Subject: Re: Patch to improve Cloneable implementation on classes which extend PGobject.
  In-Reply-To: <469B5974.30705@ev.net>
  References: <467EA134.6050602@ev.net> <Pine.BSO.4.64.0707160010500.23154@leary.csoft.net> <469B5974.30705@ev.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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