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

Commit0c7f103

Browse files
committed
Fix two comments in numeric.c
The comments at the top of numeric_int4_safe() and numeric_int8_safe()mentioned respectively int4_numeric() and int8_numeric(). The intentionis to refer to numeric_int4() and numeric_int8().Oversights in4246a97.Reported-by: jian he <jian.universality@gmail.com>Discussion:https://postgr.es/m/CACJufxFfVt7Jx9_j=juxXyP-6tznN8OcvS9E-QSgp0BrD8KUgA@mail.gmail.com
1 parentea78bd6 commit0c7f103

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/adt/numeric.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4359,7 +4359,7 @@ int4_numeric(PG_FUNCTION_ARGS)
43594359
}
43604360

43614361
/*
4362-
* Internal version ofint4_numeric() with support for soft error reporting.
4362+
* Internal version ofnumeric_int4() with support for soft error reporting.
43634363
*/
43644364
int32
43654365
numeric_int4_safe(Numericnum,Node*escontext)
@@ -4429,7 +4429,7 @@ int8_numeric(PG_FUNCTION_ARGS)
44294429
}
44304430

44314431
/*
4432-
* Internal version ofint8_numeric() with support for soft error reporting.
4432+
* Internal version ofnumeric_int8() with support for soft error reporting.
44334433
*/
44344434
int64
44354435
numeric_int8_safe(Numericnum,Node*escontext)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp