Обсуждение: pgsql: Fix up timetz input so that a date is required only when the

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

pgsql: Fix up timetz input so that a date is required only when the

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Fix up timetz input so that a date is required only when the specified
timezone actually has a daylight-savings rule.  This avoids breaking
cases that used to work because they went through the DecodePosixTimezone
code path.  Per contrib regression failures (mea culpa for not running
those yesterday...).  Also document the already-applied change to allow
GMT offsets up to 14 hours.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        datatype.sgml (r1.178 -> r1.179)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/datatype.sgml.diff?r1=1.178&r2=1.179)
    pgsql/src/backend/utils/adt:
        datetime.c (r1.173 -> r1.174)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/datetime.c.diff?r1=1.173&r2=1.174)
    pgsql/src/include:
        pgtime.h (r1.13 -> r1.14)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/pgtime.h.diff?r1=1.13&r2=1.14)
    pgsql/src/include/utils:
        datetime.h (r1.61 -> r1.62)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/datetime.h.diff?r1=1.61&r2=1.62)
    pgsql/src/timezone:
        localtime.c (r1.15 -> r1.16)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/timezone/localtime.c.diff?r1=1.15&r2=1.16)