]> granicus.if.org Git - postgresql/commit
Add code to identify_system_timezone() to try all zones in the zic
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 May 2004 18:08:59 +0000 (18:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 May 2004 18:08:59 +0000 (18:08 +0000)
commit76c50c080bfd63dd26b92f0ddf5fede704bcba04
tree2af011683919ca359e13c6662533cb325bb333b6
parent17ff18141cb2ebdf430010026b3c410d555c162c
Add code to identify_system_timezone() to try all zones in the zic
database, not just ones that we cons up POSIX names for.  This looks
grim but it seems to take less than a second even on a relatively slow
machine, and since it only happens once during postmaster startup, that
seems acceptable.
src/timezone/pgtz.c