Skip site navigation (1) Skip section navigation (2)

Patch for JDBC fractional hour timezone offset bug

From: Barry Lind <barry(at)xythos(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Cc: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
Subject: Patch for JDBC fractional hour timezone offset bug
Date: 2001-05-26 00:00:59
Message-ID: 3B0EF23B.1040602@xythos.com (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-jdbcpgsql-patches
Attached is a patch to fix the problem Thomas mentions below.  The JDBC 
driver now correctly handles timezones that are offset fractional hours 
from GMT (ie. -06:30).

thanks,
--Barry

Thomas Lockhart wrote:

>> FYI, the reason I personally didn't want to apply this to 7.1.2 is
>> because we already added two new bugs in 7.1.1, and I didn't want to be
>> the one to add another.  Add that to the natural problems I have with
>> JDBC, and I ran.  :-)
> 
> 
> Understandable. You shouldn't *have* to take responsibility for every
> patch coming in, so feel free to leave some things for others. And if
> there is a problem with this one, I'll understand if you need to yell at
> me a little ;)
> 
> As a (sort of) aside, by forcing me to inspect the code we have
> uncovered a problem with atypical time zones which we would not
> otherwise have noticed, at least until someone in Newfoundland or India
> stumbled on it. No patch yet, but at least we know it is there...
> 
>                      - Thomas
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://www.postgresql.org/search.mpl
> 
> 


Attachment: patch.diff
Description: text/plain (4.3 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2001-05-26 00:44:09
Subject: Re: Patch for JDBC fractional hour timezone offset bug
Previous:From: Tom LaneDate: 2001-05-25 22:51:57
Subject: Re: GiST index on data types that require compression

pgsql-patches by date

Next:From: Bruce MomjianDate: 2001-05-26 00:44:09
Subject: Re: Patch for JDBC fractional hour timezone offset bug
Previous:From: Bruce MomjianDate: 2001-05-25 15:48:24
Subject: Re: [PATCHES] Cygwin plpython patch

pgsql-jdbc by date

Next:From: Bruce MomjianDate: 2001-05-26 00:44:09
Subject: Re: Patch for JDBC fractional hour timezone offset bug
Previous:From: vivek kheraDate: 2001-05-25 09:26:19
Subject:

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group