pgsql-server/src backend/utils/adt/timestamp.c ...

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src backend/utils/adt/timestamp.c ...
Date: 2003-07-04 18:21:14
Message-ID: 20030704182114.29D81B439E2@svr1.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)svr1(dot)postgresql(dot)org 03/07/04 15:21:14

Modified files:
src/backend/utils/adt: timestamp.c
src/interfaces/ecpg/pgtypeslib: timestamp.c

Log message:
tm2timestamp should return -1, not elog, on overflow. (In the backend
this is merely an API inconsistency, but in ecpg it's fatal.) Also,
fix misconceived overflow test in HAVE_INT64_TIMESTAMP case.

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Meskes 2003-07-07 12:15:34 pgsql-server/src/interfaces/ecpg ChangeLog ecp ...
Previous Message Tom Lane 2003-07-04 18:15:10 pgsql-server/src/interfaces/ecpg/pgtypeslib dt.h