Обсуждение: pgsql/src/test/regress expected/horology-no-DS ...

Поиск
Список
Период
Сортировка

pgsql/src/test/regress expected/horology-no-DS ...

От
Thomas Lockhart
Дата:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    thomas@hub.org    01/04/06 01:50:31

Modified files:
    src/test/regress/expected: horology-no-DST-before-1970.out
                               horology-solaris-1947.out
                               horology.out
    src/test/regress/sql: horology.sql

Log message:
    Alter the previous test for "time with time zone" implicit time zone
    (which failed miserably during DST) to just compare against a time
    derived from a timestamp value.
    Certainly not a direct check for a correct result, but should work
    at any time of year.


Re: pgsql/src/test/regress expected/horology-no-DS ...

От
Tom Lane
Дата:
Thomas Lockhart <thomas@hub.org> writes:
>     Alter the previous test for "time with time zone" implicit time zone
>     (which failed miserably during DST) to just compare against a time
>     derived from a timestamp value.
>     Certainly not a direct check for a correct result, but should work
>     at any time of year.

Actually, I was expecting you to add at the end of the test script:

    set timezone = GMT;

    -- perform the two broken tests here

which should also eliminate the dependency on DST season.  But maybe
it's a bit late in the cycle for that ...

            regards, tom lane