pgsql: Fix overflow check in tm2timestamp (this time for sure). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix overflow check in tm2timestamp (this time for sure).
Date
Msg-id E1UCbn0-0006Pg-8Y@gemulon.postgresql.org
Whole thread Raw
List 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/542eeba26992305d872be699158cb3ab1c2be6e6

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 by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix overflow check in tm2timestamp (this time for sure).
Next
From: Kevin Grittner
Date:
Subject: pgsql: Bump catversion because of new function in the materialized view