Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 0D66D9FA5CE for ; Fri, 5 Jan 2007 15:52:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 16958-09 for ; Fri, 5 Jan 2007 15:52:16 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by postgresql.org (Postfix) with ESMTP id 9E2159FA372 for ; Fri, 5 Jan 2007 15:52:16 -0400 (AST) Received: by mail63.csoft.net (Postfix, from userid 1112) id 9014DF55B; Fri, 5 Jan 2007 14:52:15 -0500 (EST) Date: Fri, 5 Jan 2007 14:52:14 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary2.csoft.net To: "Do, Leon (Leon)" cc: Oliver Jowett , Dave Cramer , imad , pgsql-jdbc@postgresql.org Subject: Re: help with front/backend datatype converting In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/48 X-Sequence-Number: 16413 On Fri, 5 Jan 2007, Do, Leon (Leon) wrote: > Leon-it is actually a bug in the class. The server could possibly sends > a timezone in 'hhmm' format and the class treats the entire 4 digits as > number of hours which is totally incorrect. I already provided the > quick fix so it won't take too much effort to put it in the load. If > you tell me the direction then I can add it in the load so you don't > have to spend extra effort. > Please demonstrate how it is possible to generate a timezone in this format. I can't seem to do it: jurka=# set timezone='Asia/Tehran'; SET jurka=# select now(); now ---------------------------------- 2007-01-05 22:56:26.065258+03:30 Kris Jurka