pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove pg_atoi()
Date: Tue, 15 Feb 2022 06:50:55 +0000
Message-ID: <E1nJrfr-00046d-DB@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1nJrfr-00046d-DB@gemulon.postgresql.org>
Permalink:  ../E1nJrfr-00046d-DB@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nJrfr-00046d-DB@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Remove pg_atoi()
  In-Reply-To: <E1nJrfr-00046d-DB@gemulon.postgresql.org>
  References: <E1nJrfr-00046d-DB@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox