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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src backend/utils/adt/nabstime.c ...
Date: 2002-09-01 00:58:07
Message-ID: 20020901005807.CDECD475FC7@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)postgresql(dot)org 02/08/31 20:58:07

Modified files:
src/backend/utils/adt: nabstime.c
src/include/catalog: pg_cast.h pg_proc.h
src/include/utils: nabstime.h

Log message:
Mark the float8 -> int8 cast as implicit. This resolves the problem
pointed out by Barry Lind: UPDATE bigintcol = 10000000000 fails because
the constant is initially taken as float8. We really need a better way,
but it's not gonna happen for 7.3.

Also, remove int4reltime() function, which is redundant with the
existing binary-compatibility coercion path from int4 to reltime,
and probably has been unreachable code for a long while.

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2002-09-01 01:32:21 pgsql-server/doc TODO
Previous Message Tom Lane 2002-08-31 22:10:48 pgsql-server/src backend/executor/execQual.c b ...