Re: Bug in JDBC-Driver?

Поиск
Список
Период
Сортировка
Искать
От
Kris Jurka
Тема
Re: Bug in JDBC-Driver?
Дата
Msg-id
Pine.BSO.4.56.0412180129330.31745@leary.csoft.net
Ответ на
Список
Дерево обсуждения
Bug in JDBC-Driver? Antje.Stejskal@ppi.de
Re: Bug in JDBC-Driver? Kris Jurka <books@ejurka.com>
Re: Bug in JDBC-Driver? Dave Cramer <pg@fastcrypt.com>
Re: Bug in JDBC-Driver? Kris Jurka <books@ejurka.com>
Re: Bug in JDBC-Driver? Dave Cramer <pg@fastcrypt.com>
Re: Bug in JDBC-Driver? Tom Lane <tgl@sss.pgh.pa.us>
Re: Bug in JDBC-Driver? Dave Cramer <pg@fastcrypt.com>
Re: Bug in JDBC-Driver? Oliver Jowett <oliver@opencloud.com>
Postgresql driver Question Nicolas Modrzyk <Nicolas.Modrzyk@inrialpes.fr>
Re: Bug in JDBC-Driver? Kris Jurka <books@ejurka.com>
Re: Bug in JDBC-Driver? Tom Lane <tgl@sss.pgh.pa.us>
Re: Bug in JDBC-Driver? John R Pierce <pierce@hogranch.com>
Re: Bug in JDBC-Driver? Kris Jurka <books@ejurka.com>
Re: Bug in JDBC-Driver? Kris Jurka <books@ejurka.com>
Re: Bug in JDBC-Driver? Tom Lane <tgl@sss.pgh.pa.us>


On Sat, 18 Dec 2004, Tom Lane wrote:

> The really serious problem with this is the assumption that the server
> has the same set of available timezones (and spellings of same) as the
> client does.

I did some testing here and found of the 558 available timezones (in JDK 
1.4) that 526 were accepted on 7.4 and 527 were accepted on 8.0, this is 
on an unstable debian box, but it seemed like a pretty good percent.

> In 8.0 and later you can presume that the server is following the
> zic database's set of timezone names, but I dunno whether that has
> anything to do with the Java universe.  Pre-8.0, you'd be foolish
> to assume much of anything.
> 
> It's not quite too late to make TimeZone be one of the GUC_REPORT
> settings in 8.0, if that would help your problem.
> 

Well this just kind of reverses the problem, now Java must have the same
set of timezones as the zic database, but I think making TimeZone a 
GUC_REPORT is a good idea because we may want to go that route down the 
line and now we certainly want to detect if someone has manually set the 
TimeZone behind our backs.

Kris Jurka
В списке pgsql-jdbc по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: Bug in JDBC-Driver?
От: John R Pierce
Дата:
Сообщение: Re: Bug in JDBC-Driver?
FAQ