pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Kris Jurka <books@ejurka.com>
Cc: Barry Lind <blind@xythos.com>
Cc: Antje.Stejskal@ppi.de
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Bug in JDBC-Driver?
Date: Thu, 23 Dec 2004 10:22:59 +1300
Message-ID: <41C9E5B3.4070403@opencloud.com> (raw)
In-Reply-To: <Pine.BSO.4.56.0412220622250.11565@leary.csoft.net>
References: <03E7D3E231BB7B4A915A6581D4296CC6CCA5B8@NSNOVPS00411.nacio.xythos.com>
	<Pine.BSO.4.56.0412220622250.11565@leary.csoft.net>

Kris Jurka wrote:

> I initially thought this was a great idea, but it breaks down when they
> don't use a PreparedStatement and generate a query directly, then we can't
> intervene and adjust things.  The advantage of setting the server to the
> client's timezone is that this will work as expected.

What about the {ts ...} etc escapes for time/date values? 
Aren't you meant to use those for the case where you have 
literal date values in the query?

-O



view thread (19+ messages)

Message-ID: <41C9E5B3.4070403@opencloud.com>
Permalink:  ../41C9E5B3.4070403@opencloud.com/
Also on:    postgresql.org/message-id/41C9E5B3.4070403@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, books@ejurka.com, blind@xythos.com, Antje.Stejskal@ppi.de
  Subject: Re: Bug in JDBC-Driver?
  In-Reply-To: <41C9E5B3.4070403@opencloud.com>
  References: <03E7D3E231BB7B4A915A6581D4296CC6CCA5B8@NSNOVPS00411.nacio.xythos.com> <Pine.BSO.4.56.0412220622250.11565@leary.csoft.net> <41C9E5B3.4070403@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