Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit59b0a98

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 inthis pace can cause actual problems, but this still should be fixed.
1 parentcb1ca4d commit59b0a98

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
#ifdefHAVE_INT128
3022-
do_int128_accum(state, (int128)PG_GETARG_INT32(1));
3022+
do_int128_accum(state, (int128)PG_GETARG_INT16(1));
30233023
#else
30243024
Numericnewval;
30253025

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp