aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-07-01 03:41:10 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-07-01 03:41:10 +0000
commit0c27e5857cabde3176b18f77d416cdf6cd36bc45 (patch)
tree8c0ef6058ab0602eba2b2b5d774db15acf1a1809 /src/backend/access/gist
parentfeeac41bc6d63b5929af82d4ebbb7c10f3648ac0 (diff)
downloadpostgresql-0c27e5857cabde3176b18f77d416cdf6cd36bc45.tar.gz
postgresql-0c27e5857cabde3176b18f77d416cdf6cd36bc45.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