X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8EFC652C8A for ; Mon, 25 Jul 2005 15:52:30 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 54372-05 for ; Mon, 25 Jul 2005 18:52:23 +0000 (GMT) Received: from gwmta.wicourts.gov (gwmta.wicourts.gov [165.219.244.91]) by svr1.postgresql.org (Postfix) with ESMTP id CAA8152C8C for ; Mon, 25 Jul 2005 15:52:22 -0300 (ADT) Received: from Courts-MTA by gwmta.wicourts.gov with Novell_GroupWise; Mon, 25 Jul 2005 13:52:22 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.2 Date: Mon, 25 Jul 2005 13:52:16 -0500 From: "Kevin Grittner" To: Cc: , Subject: Re: Timestamp Summary Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/295 X-Sequence-Number: 13443 Hi Dave, I thought I addressed that in the long paragraph near the bottom of this message. http://archives.postgresql.org/pgsql-jdbc/2005-07/msg00283.php This seems to me that it doesn't require any new datatypes and doesn't require that we know the type on the server side ahead of time. Am I missing something? -Kevin >>> Dave Cramer 07/25/05 1:43 PM >>> The challenge with this, is that we don't know ahead of time what type the underlying data is. If we did this is a trivial problem. Right now we bind the parameter in the statement to a timestamptz type. If we knew ahead of time, we could easily bind it to a timestamp. The simplest solution that Christian has is to create two types that extend PGobject and do exactly as above.