mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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
This commit is contained in:
@ -232,7 +232,7 @@ array_accessor:
|
||||
;
|
||||
|
||||
any_level:
|
||||
INT_P { $$ = pg_atoi($1.val, 4, 0); }
|
||||
INT_P { $$ = pg_strtoint32($1.val); }
|
||||
| LAST_P { $$ = -1; }
|
||||
;
|
||||
|
||||
|
Reference in New Issue
Block a user