aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/int8.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-10-25 14:10:07 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-10-25 14:10:07 +0000
commita0cd991987bd23d79d5d273e7712afe40dba554b (patch)
tree94f0068451398a1cce08a424ac5f7bb36e4c1701 /src/include/utils/int8.h
parent92e8282229d0be6c8cbfed12d311a0a39f409885 (diff)
downloadpostgresql-a0cd991987bd23d79d5d273e7712afe40dba554b.tar.gz
postgresql-a0cd991987bd23d79d5d273e7712afe40dba554b.zip
Add int2-to-int8 and int8-to-int2 conversion routines. Needed to avoid
breaking existing pg_dump scripts, which try to assign the result of count(*) to an int2 variable. catversion bumped.
Diffstat (limited to 'src/include/utils/int8.h')
-rw-r--r--src/include/utils/int8.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/utils/int8.h b/src/include/utils/int8.h
index 161bb838443..d083fb9f002 100644
--- a/src/include/utils/int8.h
+++ b/src/include/utils/int8.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: int8.h,v 1.28 2001/10/25 05:50:10 momjian Exp $
+ * $Id: int8.h,v 1.29 2001/10/25 14:10:07 tgl Exp $
*
* NOTES
* These data types are supported on all 64-bit architectures, and may
@@ -98,6 +98,9 @@ extern Datum int48div(PG_FUNCTION_ARGS);
extern Datum int48(PG_FUNCTION_ARGS);
extern Datum int84(PG_FUNCTION_ARGS);
+extern Datum int28(PG_FUNCTION_ARGS);
+extern Datum int82(PG_FUNCTION_ARGS);
+
extern Datum i8tod(PG_FUNCTION_ARGS);
extern Datum dtoi8(PG_FUNCTION_ARGS);