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 E1C593ABED4 for ; Wed, 22 Dec 2004 21:23:17 +0000 (GMT) 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 46005-08 for ; Wed, 22 Dec 2004 21:23:08 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 0A3A03ABF00 for ; Wed, 22 Dec 2004 21:23:09 +0000 (GMT) Received: from p25-max3.pmr.ihug.co.nz ([203.173.223.153] helo=[192.168.0.4]) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1ChDwh-0008Ty-00; Thu, 23 Dec 2004 10:23:00 +1300 Message-ID: <41C9E5B3.4070403@opencloud.com> Date: Thu, 23 Dec 2004 10:22:59 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Jurka Cc: Barry Lind , Antje.Stejskal@ppi.de, pgsql-jdbc@postgresql.org Subject: Re: Bug in JDBC-Driver? References: <03E7D3E231BB7B4A915A6581D4296CC6CCA5B8@NSNOVPS00411.nacio.xythos.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200412/170 X-Sequence-Number: 11836 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