pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: emergency.shower@gmail.com
Cc: pgsql-jdbc@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: Timestamp weirdness
Date: Wed, 27 Jul 2005 11:17:47 +1200
Message-ID: <42E6C49B.4040404@opencloud.com> (raw)
In-Reply-To: <s2e631c3.021@gwmta.wicourts.gov>
References: <s2e631c3.021@gwmta.wicourts.gov>

Kevin Grittner wrote:

> My question (not well stated, I'm sure) was whether there is a way to
> know, on the server, at the point of handling the timestampz from the
> protocol stream, that it is going to be assigned to a TIMESTAMP WITHOUT
> TIME ZONE and use literal assignment rules (i.e., ignore the time zone
> info) instead of the cast rules.  The next question was whether this
> would break existing code.

As I said:

>>>>Oliver Jowett <oliver@opencloud.com> 07/26/05 9:20 AM >>>

> If we get the server to infer a type for the parameter rather than
> explicitly specifying it as timestamptz, then we can avoid that cast.
> Then things don't break.

-O



view thread (20+ messages)

Message-ID: <42E6C49B.4040404@opencloud.com>
Permalink:  ../42E6C49B.4040404@opencloud.com/
Also on:    postgresql.org/message-id/42E6C49B.4040404@opencloud.com

 · 

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: oliver@opencloud.com, Kevin.Grittner@wicourts.gov, emergency.shower@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Timestamp weirdness
  In-Reply-To: <42E6C49B.4040404@opencloud.com>
  References: <s2e631c3.021@gwmta.wicourts.gov> <42E6C49B.4040404@opencloud.com>

* 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