summaryrefslogtreecommitdiff
path: root/src/timezone
Commit message (Collapse)AuthorAgeFilesLines
...
* Add PKST to the default set of timezone abbreviations.Tom Lane2010-05-112-4/+10
| | | | | Per discussion, if we have PKT in there then PKST should be too. Also, fix mistaken claim that these abbrevs are not known to zic.
* Improve message style for messages associated with not being able toTom Lane2010-04-151-29/+42
| | | | identify the system time zone setting. Per recent discussion.
* Add script to enumerate the timezones in the Windows registry and compareMagnus Hagander2010-04-151-1/+8
| | | | it with the list we have in pgtz.c, showing any differences.
* Clean up inconsistent commasMagnus Hagander2010-04-091-8/+8
|
* Update list of Windows timezones we try to match localized names againstMagnus Hagander2010-04-091-4/+64
| | | | to one that's up to date with Windows 2003R2.
* Proceed to look for the next timezone when matching a localizedMagnus Hagander2010-04-081-3/+3
| | | | | | | | | | Windows timezone name where the information in the registry is incomplete, instead of aborting. This fixes cases when the registry information is incomplete for a timezone that is alphabetically before the one that is in use. Per report from Alexander Forschner
* Log the actual timezone name that we fail to look up the values for inMagnus Hagander2010-04-061-3/+5
| | | | | case the registry data doesn't follow the format we expect, to facilitate debugging.
* Small adjustment by pgindent.Bruce Momjian2010-03-131-2/+2
|
* Fix a commented-out block of code that pgindent didn't understandTom Lane2010-03-121-4/+8
| | | | properly; it's been making that comment uglier with each run.
* Sync timezone code with tzcode 2010c from the Olson group. This fixes someTom Lane2010-03-114-27/+43
| | | | | | | | | | corner cases that come up in certain timezones (apparently, only those with lots and lots of distinct TZ transition rules, as far as I can gather from a quick scan of their archives). Per suggestion from Jeevan Chalke. Back-patch to 8.4. Possibly we need to push this into earlier releases as well, but I'm hesitant to update them to the 64-bit tzcode without more thought and testing.
* Update time zone data files to tzdata release 2010d: DST law changes in Fiji,Alvaro Herrera2010-03-093-64/+77
| | | | Samoa, Chile; corrections to recent changes in Paraguay and Bangladesh.
* Update time zone data files to tzdata release 2010c: DST law changes inTom Lane2010-03-085-24/+243
| | | | Bangladesh, Mexico, Paraguay.
* pgindent run for 9.0Bruce Momjian2010-02-261-2/+2
|
* Update copyright for the year 2010.Bruce Momjian2010-01-022-4/+4
|
* Update time zone data files to tzdata release 2009s: DST law changes inTom Lane2009-12-096-40/+396
| | | | | Antarctica, Argentina, Bangladesh, Fiji, Novokuznetsk, Pakistan, Palestine, Samoa, Syria. Also historical corrections for Hong Kong.
* Fix a couple of issues in recent patch to print updates to postgresql.confTom Lane2009-10-031-3/+3
| | | | | | | | | | | | | settings: avoid calling superuser() in contexts where it's not defined, don't leak the transient copies of GetConfigOption output, and avoid the whole exercise in postmaster child processes. I found that actually no current caller of GetConfigOption has any use for its internal check of GUC_SUPERUSER_ONLY. But rather than just remove that entirely, it seemed better to add a parameter indicating whether to enforce the check. Per report from Simon and subsequent testing.
* Update the tznames reference files, and add IDT (Israel Daylight Time)Tom Lane2009-09-066-8/+26
| | | | | | | | | to the Default timezone abbreviation set. Back-port the the current file set to all branches that contain tznames. This includes adding SGT to the Default set in pre-8.4 releases. Joachim Wieland
* Update time zone data files to tzdata release 2009l: DST law changes inTom Lane2009-09-035-20/+87
| | | | Egypt, Mauritius, Bangladesh.
* Update of install-sh, mkinstalldirs, and associated configuryPeter Eisentraut2009-08-262-4/+4
| | | | | | | | | | | | | | Update install-sh to that from Autoconf 2.63, plus our Darwin-specific changes (which I simplified a bit). install-sh is now able to install multiple files in one run, so we could simplify our makefiles sometime. install-sh also now has a -d option to create directories, so we don't need mkinstalldirs anymore. Use AC_PROG_MKDIR_P in configure.in, so we can use mkdir -p when available instead of install-sh -d. For consistency with the rest of the world, the corresponding make variable has been renamed from $(mkinstalldirs) to $(MKDIR_P).
* Update time zone data files to tzdata release 2009i: DST law changes inTom Lane2009-06-1118-30/+214
| | | | Bangladesh, Egypt, Jordan, Pakistan.
* 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef listBruce Momjian2009-06-117-238/+305
| | | | provided by Andrew.
* Update time zone data files to tzdata release 2009e: DST law changes inTom Lane2009-04-095-35/+241
| | | | | Argentina/San_Luis, Cuba, Jordan (historical correction only), Morocco, Palestine, Syria, Tunisia.
* Add MUST (Mauritius Island Summer Time) to the list of known abbreviations.Heikki Linnakangas2009-03-052-2/+6
| | | | | | | Mauritius began using DST in the summer 2008-2009; the Olson library has been updated already. Xavier Bugaud
* Update time zone data files to tzdata release 2009a: introduces Asia/KathmanduTom Lane2009-01-295-17/+78
| | | | | as the preferred spelling of that zone name, corrects historical DST information for Switzerland and Cuba.
* Fix new timezone cross-compile rule to avoid a bug in gmake 3.78.1;Bruce Momjian2009-01-061-2/+10
| | | | document change.
* When cross-compiling, allow and require an external zic program to be usedPeter Eisentraut2009-01-051-2/+2
| | | | | | when --with-system-tzdata is not used. initial patch by Richard Evans
* Update copyright for 2009.Bruce Momjian2009-01-012-4/+4
|
* Suppress leap-second-aware timezones in the output of pg_tzenumerate_next,Tom Lane2008-11-131-1/+7
| | | | | | | | | and thereby in the pg_timezone_names view. Although we allow such zones to be used in certain limited contexts like AT TIME ZONE, we don't allow them in SET TIME ZONE, and bug #4528 shows that they're more likely to confuse users than do anything useful. So hide 'em. (Note that we don't even generate these zones when installing our own timezone database. But they are likely to be present when using a system-provided database.)
* Update time zone data files to tzdata release 2008i (DST law changes inTom Lane2008-10-304-27/+123
| | | | Argentina, Brazil, Mauritius, Syria).
* Update time zone data files to tzdata release 2008f (DST law changes inTom Lane2008-09-178-75/+387
| | | | Argentina, Bahamas, Brazil, Mauritius, Morocco, Pakistan, Palestine, Paraguay).
* Fix identify_system_timezone() so that it tests the behavior of the systemTom Lane2008-07-011-9/+38
| | | | | | | | | | | 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.
* Update time zone data files to tzdata release 2008c (DST law changes inTom Lane2008-06-016-28/+337
| | | | Morocco, Iraq, Choibalsan, Pakistan, Syria, Cuba, Argentina/San_Luis).
* Add SGT (Singapore time) to the default list of known timezoneTom Lane2008-05-011-1/+3
| | | | | abbreviations. It doesn't conflict with any other abbreviation so there seems no reason not to include it. Per a recent gripe.
* More README src cleanups.Bruce Momjian2008-03-212-0/+10
|
* Update to tzdata 2008a distribution (Chilean DST law change).Tom Lane2008-03-132-11/+36
|
* Venezuela Time now means UTC-4:30, not UTC-4:00. Adjust our treatmentTom Lane2008-03-022-4/+4
| | | | of "VET" accordingly. Per bug #3997 from Aaron Mizrachi.
* More refactoring, so that the SUBSYS.o rules are now all in one place.Peter Eisentraut2008-02-191-6/+3
|
* Fix function prototype to silence compiler warnings.Magnus Hagander2008-02-191-2/+3
|
* Update timezone code to track the upstream changes since 2003. In particularTom Lane2008-02-1610-435/+1310
| | | | | | | | this adds support for 64-bit tzdata files, which is needed to support DST calculations beyond 2038. Add a regression test case to give some minimal confidence that that really works. Heikki Linnakangas
* Update timezone mapping for Windows with new timezones addedMagnus Hagander2008-02-111-4/+42
| | | | | in windows servicepacks. Fix timezone mapping for "Mexico 2"
* Insert ARST into the list of known timezone abbreviations.Tom Lane2008-01-022-4/+26
|
* Update time zone data files to tzdata release 2007k.Tom Lane2008-01-017-32/+74
|
* Update copyrights in source tree to 2008.Bruce Momjian2008-01-012-4/+4
|
* Re-run pgindent with updated list of typedefs. (Updated README shouldBruce Momjian2007-11-151-3/+3
| | | | avoid this problem in the future.)
* Update timezone data files to release 2007i of the zic database.Tom Lane2007-11-152-5/+45
|
* pgindent run for 8.3.Bruce Momjian2007-11-153-26/+26
|
* Avoid including any backend-only stuff in the zic utility program.Tom Lane2007-10-264-8/+9
| | | | Per gripe from Zdenek Kotala, though not exactly his patch.
* Update timezone data files to release 2007h of the zic database.Tom Lane2007-10-043-16/+89
| | | | Might as well have the latest when we wrap 8.3beta1.
* Sync timezone data with 2007g zic release.Tom Lane2007-09-117-106/+204
|
* Adjust with-system-tzdata patch to not attempt to install a symlink,Tom Lane2007-08-252-11/+24
| | | | | | but just hardwire the specified timezone database path into the executable. Per discussion, this avoids some packaging disadvantages of using a symlink.