Remove pg_atoi()

Peter Eisentraut <peter@eisentraut.org>

Commit: 73508475d69e90f98ebd9b7e1a5933a26a49c5e9
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2022-02-15T06:44:26Z
Releases: 15.0
Remove pg_atoi()

The last caller was int2vectorin(), and having such a general function
for one user didn't seem useful, so just put the required parts inline
and remove the function.

Reviewed-by: John Naylor <john.naylor@enterprisedb.com>
Discussion: https://www.postgresql.org/message-id/flat/b239564c-cad0-b23e-c57e-166d883cb97d@enterprisedb.com

Files

PathChange+/−
src/backend/utils/adt/int.c modified +28 −4
src/backend/utils/adt/numutils.c modified +0 −88
src/include/utils/builtins.h modified +0 −1

Discussion