]> git.ipfire.org Git - thirdparty/postgresql.git/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:22 +0000 (17:38 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 14 Mar 2007 17:38:22 +0000 (17:38 +0000)
commit45ca0be21b082fea55f717d66306c6aa39eb2e16
tree1a437abfee23effde60b1468fe6a25dcbb0d9651
parent3cda014bf435c616bb78de45b46b199add79c409
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