Add int2-to-int8 and int8-to-int2 conversion routines. Needed to avoid
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| 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 |