diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2022-02-14 21:29:45 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2022-02-15 07:44:26 +0100 |
commit | 73508475d69e90f98ebd9b7e1a5933a26a49c5e9 (patch) | |
tree | 300bd958bf6367993e5ebbe59ec8ba104325ea69 /src/include/utils/builtins.h | |
parent | 278cdea6b9d2993d1a819fbb28262236a72f6d02 (diff) | |
download | postgresql-73508475d69e90f98ebd9b7e1a5933a26a49c5e9.tar.gz postgresql-73508475d69e90f98ebd9b7e1a5933a26a49c5e9.zip |
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
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r-- | src/include/utils/builtins.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index 48ddfec9ebf..666e5454969 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -43,7 +43,6 @@ extern void namestrcpy(Name name, const char *str); extern int namestrcmp(Name name, const char *str); /* numutils.c */ -extern int32 pg_atoi(const char *s, int size, int c); extern int16 pg_strtoint16(const char *s); extern int32 pg_strtoint32(const char *s); extern int64 pg_strtoint64(const char *s); |