aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-07-01 03:41:01 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-07-01 03:41:01 +0000
commit14586d319e074f6fdc00f4c10ecb85adeedd16bd (patch)
treef7fbf7a7f18a6caf140f7a230428b584d94def82 /src/backend/access/gist
parentd778fa9231853d5a094681eecc5a6595ebcb158c (diff)
downloadpostgresql-14586d319e074f6fdc00f4c10ecb85adeedd16bd.tar.gz
postgresql-14586d319e074f6fdc00f4c10ecb85adeedd16bd.zip
Fix identify_system_timezone() so that it tests the behavior of the system
timezone setting in the current year and for 100 years back, rather than always examining years 1904-2004. The original coding would have problems distinguishing zones whose behavior diverged only after 2004; which is a situation we will surely face sometime, if it's not out there already. In passing, also prevent selection of the dummy "Factory" timezone, even if that's exactly what the system is using. Reporting time as GMT seems better than that.
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions