summaryrefslogtreecommitdiff
path: root/src/include/utils
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-09-01 00:58:07 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-09-01 00:58:07 +0000
commit3c49c4b1520fd29dea570b4cde8a66bc5893078c (patch)
treeba773acc0e6a05f7f055f685b92bcf23868b6342 /src/include/utils
parent845a6c3acccea0ec34e70808787aa7d431b0d96d (diff)
downloadpostgresql-3c49c4b1520fd29dea570b4cde8a66bc5893078c.tar.gz
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.
Diffstat (limited to 'src/include/utils')
-rw-r--r--src/include/utils/nabstime.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/utils/nabstime.h b/src/include/utils/nabstime.h
index 1115779e5d..d939136643 100644
--- a/src/include/utils/nabstime.h
+++ b/src/include/utils/nabstime.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: nabstime.h,v 1.36 2002/06/20 20:29:53 momjian Exp $
+ * $Id: nabstime.h,v 1.37 2002/09/01 00:58:07 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -152,7 +152,6 @@ extern Datum tintervalct(PG_FUNCTION_ARGS);
extern Datum tintervalov(PG_FUNCTION_ARGS);
extern Datum tintervalstart(PG_FUNCTION_ARGS);
extern Datum tintervalend(PG_FUNCTION_ARGS);
-extern Datum int4reltime(PG_FUNCTION_ARGS);
extern Datum timeofday(PG_FUNCTION_ARGS);
/* non-fmgr-callable support routines */