1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-11 20:28:21 +03:00
Files
postgres/src/backend
Tom Lane fea3ea1f23 Expand the allowed range of timezone offsets to +/-15:59:59 from Greenwich.
We used to only allow offsets less than +/-13 hours, then it was +/14,
then it was +/-15.  That's still not good enough though, as per today's bug
report from Patric Bechtel.  This time I actually looked through the Olson
timezone database to find the largest offsets used anywhere.  The winners
are Asia/Manila, at -15:56:00 until 1844, and America/Metlakatla, at
+15:13:42 until 1867.  So we'd better allow offsets less than +/-16 hours.

Given the history, we are way overdue to have some greppable #define
symbols controlling this, so make some ... and also remove an obsolete
comment that didn't get fixed the last time.

Back-patch to all supported branches.
2012-05-30 19:58:41 -04:00
..
2011-06-19 00:39:19 +03:00
2011-01-01 13:18:15 -05:00
2011-06-09 14:32:50 -04:00
2012-02-23 20:40:55 +02:00
2011-01-01 13:18:15 -05:00
2012-05-15 19:27:26 +03:00
2012-02-23 20:40:55 +02:00