Content-Length: 255662 | pFad | http://github.com/postgrespro/postgres/commit/59b0a98af07cf8decfe94739f92bf18ebb34ffc6

D7 Fix minor copy & pasto in the int128 accumulator patch. · postgrespro/postgres@59b0a98 · GitHub
Skip to content

Commit 59b0a98

Browse files
committed
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.
1 parent cb1ca4d commit 59b0a98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/adt/numeric.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3019,7 +3019,7 @@ int2_accum(PG_FUNCTION_ARGS)
30193019
if (!PG_ARGISNULL(1))
30203020
{
30213021
#ifdef HAVE_INT128
3022-
do_int128_accum(state, (int128) PG_GETARG_INT32(1));
3022+
do_int128_accum(state, (int128) PG_GETARG_INT16(1));
30233023
#else
30243024
Numeric newval;
30253025

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/59b0a98af07cf8decfe94739f92bf18ebb34ffc6

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy