diff options
| author | Tom Lane | 2001-10-25 14:10:07 +0000 |
|---|---|---|
| committer | Tom Lane | 2001-10-25 14:10:07 +0000 |
| commit | a0cd991987bd23d79d5d273e7712afe40dba554b (patch) | |
| tree | 94f0068451398a1cce08a424ac5f7bb36e4c1701 /src/include/utils | |
| parent | 92e8282229d0be6c8cbfed12d311a0a39f409885 (diff) | |
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')
| -rw-r--r-- | src/include/utils/int8.h | 5 |
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); |
