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

Commitb45fa79

Browse files
committed
Remove one use of pg_atoi()
There was no real need to use this here instead of a simpler API.Reviewed-by: John Naylor <john.naylor@enterprisedb.com>Discussion:https://www.postgresql.org/message-id/flat/b239564c-cad0-b23e-c57e-166d883cb97d@enterprisedb.com
1 parentcfc7191 commitb45fa79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/utils/adt/jsonpath_gram.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ array_accessor:
232232
;
233233

234234
any_level:
235-
INT_P{$$ =pg_atoi($1.val,4,0); }
235+
INT_P{$$ =pg_strtoint32($1.val); }
236236
|LAST_P{$$ = -1; }
237237
;
238238

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp