mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user