]> 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:29 +0000 (17:38 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 14 Mar 2007 17:38:29 +0000 (17:38 +0000)
commit967d6add8da648f8a58d9331fe8c5fd864ffc03a
tree500cb9765cfddb0b1de01026e4886d162456c47b
parent14686de2b5aa11532f7629af6ec42ea35e50455b
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/datetime.sgml
src/timezone/Makefile