mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Fix minor copy & pasto in the int128 accumulator patch.
It's unlikely that using PG_GETARG_INT16 instead of PG_GETARG_INT32 in this pace can cause actual problems, but this still should be fixed.
This commit is contained in:
@ -3019,7 +3019,7 @@ int2_accum(PG_FUNCTION_ARGS)
|
|||||||
if (!PG_ARGISNULL(1))
|
if (!PG_ARGISNULL(1))
|
||||||
{
|
{
|
||||||
#ifdef HAVE_INT128
|
#ifdef HAVE_INT128
|
||||||
do_int128_accum(state, (int128) PG_GETARG_INT32(1));
|
do_int128_accum(state, (int128) PG_GETARG_INT16(1));
|
||||||
#else
|
#else
|
||||||
Numeric newval;
|
Numeric newval;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user