pgsql: Expand the allowed range of timezone offsets to +/-15:59:59 from
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | pgsql: Expand the allowed range of timezone offsets to +/-15:59:59 from |
| Дата | |
| Msg-id | E1SZsna-0000iE-8r@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
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. Branch ------ REL8_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/4d3482a741a5f6c7594e60430cadb0f15024cab2 Modified Files -------------- src/backend/utils/adt/datetime.c | 6 ++---- src/include/utils/timestamp.h | 10 ++++++++++ 2 files changed, 12 insertions(+), 4 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера