Обсуждение: pgsql: Arrange to install a "posixrules" entry in our timezone database,

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

pgsql: Arrange to install a "posixrules" entry in our timezone database,

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Arrange to install a "posixrules" entry in our timezone database, so that
POSIX-style timezone specs that don't exactly match any database entry will
be treated as having correct USA DST rules.  Also, document that this can
be changed if you want to use some other DST rules with a POSIX zone spec.

We could consider changing localtime.c's TZDEFRULESTRING, but since that
facility can only deal with one DST transition rule, it seems fairly useless
now; might as well just plan to override it using a "posixrules" entry.

Backpatch as far as 8.0.  There isn't much we can do in 7.x ... either your
libc gets it right, or it doesn't.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        datatype.sgml (r1.190 -> r1.191)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/datatype.sgml.diff?r1=1.190&r2=1.191)
    pgsql/src/timezone:
        Makefile (r1.25 -> r1.26)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/timezone/Makefile.diff?r1=1.25&r2=1.26)