Add int2-to-int8 and int8-to-int2 conversion routines. Needed to avoid

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a0cd991987bd23d79d5d273e7712afe40dba554b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-10-25T14:10:07Z
Releases: 7.2.1
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.

Files

PathChange+/−
src/backend/utils/adt/int8.c modified +24 −1
src/include/catalog/catversion.h modified +2 −2
src/include/catalog/pg_proc.h modified +6 −1
src/include/utils/int8.h modified +4 −1