pgsql: Remove pg_atoi() - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Remove pg_atoi()
Date
Msg-id E1nJrfr-00046d-DB@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/73508475d69e90f98ebd9b7e1a5933a26a49c5e9

Modified Files
--------------
src/backend/utils/adt/int.c      | 32 +++++++++++++--
src/backend/utils/adt/numutils.c | 88 ----------------------------------------
src/include/utils/builtins.h     |  1 -
3 files changed, 28 insertions(+), 93 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Add isolation test for errors during logical slot creation.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Add test case for trailing junk after numeric literals