From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: davec@postgresintl.com
Cc: c.s.cryder@gmail.com
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Timestamp Summary
Date: Mon, 25 Jul 2005 13:52:16 -0500
Message-ID: <s2e4ee96.009@gwmta.wicourts.gov> (raw)
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 <davec@postgresintl.com> 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.
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: Kevin.Grittner@wicourts.gov, davec@postgresintl.com, c.s.cryder@gmail.com
Subject: Re: Timestamp Summary
In-Reply-To: <s2e4ee96.009@gwmta.wicourts.gov>
References: <s2e4ee96.009@gwmta.wicourts.gov>
* 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