CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl@svr1.postgresql.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.