pgsql: Fix overflow check in tm2timestamp (this time for sure).

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix overflow check in tm2timestamp (this time for sure).
Дата
Msg-id E1UCbn0-0006Pi-9h@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix overflow check in tm2timestamp (this time for sure).

I fixed this code back in commit 841b4a2d5, but didn't think carefully
enough about the behavior near zero, which meant it improperly rejected
1999-12-31 24:00:00.  Per report from Magnus Hagander.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/fa852303f0cda557e620af775c2e96b56eb365ba

Modified Files
--------------
src/backend/utils/adt/timestamp.c          |    5 +++--
src/interfaces/ecpg/pgtypeslib/timestamp.c |    5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] Materialized views WIP patch
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix overflow check in tm2timestamp (this time for sure).