aboutsummaryrefslogtreecommitdiff
path: root/src/include/postgres_ext.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-07-31 19:12:15 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-07-31 19:12:15 +0000
commit2def4552edbe1ada5aa76954997fd3142cb7c271 (patch)
tree2a6ceef7157135d3bcda103160fcd4d63e111c2b /src/include/postgres_ext.h
parenta052cd4cc44403b6fc783815b9983615aa8924d3 (diff)
downloadpostgresql-2def4552edbe1ada5aa76954997fd3142cb7c271.tar.gz
postgresql-2def4552edbe1ada5aa76954997fd3142cb7c271.zip
Still another try at matching system timezone nicely. On non-Windows
machines, break tie scores by preferring shorter zone names over longer; for names of equal length, prefer the alphabetically first name. This yields for example 'EST5EDT' not 'America/New_York' for US eastern time. On Windows, abandon the whole concept of inspecting the detailed behavior of the system TZ library, because it doesn't bear inspection :-(. Instead use a hardwired mapping table to select our zone name based on the result of strftime %Z output. Windows code from Magnus Hagander.
Diffstat (limited to 'src/include/postgres_ext.h')
0 files changed, 0 insertions, 0 deletions