Re: Unit test patches

Поиск
Список
Период
Сортировка
От John Lister
Тема Re: Unit test patches
Дата
Msg-id 4A1FA7F2.6020300@kickstone.com
обсуждение исходный текст
Ответ на Re: Unit test patches  (Kris Jurka <books@ejurka.com>)
Ответы Re: Unit test patches
Список pgsql-jdbc

Kris Jurka wrote:
> Looks good to me.  Applied back to 8.1.  8.0 has some other time test
> problems that look like they've been there forever.  Not backpatching
> as I don't fully understand what's going on there and this is just a
> test case fix.
>
Cheers. I'm still not happy about changing the test case to work in
europe/london.

I did try playing with the time setting functions to avoid using the
epoch as the base for times so that they were based on the current date
thus avoiding any historical DST or other zone issues - but it broke a
lot of the other tests which expected the epoch as the base.

I guess this is a fundamental flaw in the java.sql.Time class (which has
many other problems). I don't use TIME separately (only TIMESTAMP) so
this isn't a huge deal for me, but this may bite someone else.

JOHN

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Bojan Skaljac
Дата:
Сообщение: Serbian translation for pgsql-jdbc
Следующее
От: John Lister
Дата:
Сообщение: Re: Unit test patches