]> granicus.if.org Git - postgresql/commit
Arrange to install a "posixrules" entry in our timezone database, so that
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 14 Mar 2007 17:38:15 +0000 (17:38 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 14 Mar 2007 17:38:15 +0000 (17:38 +0000)
commit1a72f357e3421d8f9330f599509bf57e28eedea3
treec95ca3dd0f720df865a4d9dd97a2e51146d821a9
parent8a7b38617a5e1390dc993faf3c86c82d2202de15
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.
doc/src/sgml/datatype.sgml
src/timezone/Makefile