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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc pgsql-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 Content-Type Size
patch.diff text/plain 4.3 KB

In response to

Responses

Browse pgsql-hackers by date

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

Browse pgsql-jdbc by date

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

Browse pgsql-patches by date

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