pgsql: Remove pg_atoi()

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove pg_atoi()
Date: 2022-02-15 06:50:55
Message-ID: E1nJrfr-00046d-DB@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)naylor(at)enterprisedb(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/b239564c-cad0-b23e-c57e-166d883cb97d(at)enterprisedb(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-02-15 07:00:10 pgsql: Add test case for trailing junk after numeric literals
Previous Message Andres Freund 2022-02-15 05:54:24 pgsql: Add isolation test for errors during logical slot creation.