aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2022-02-14 21:29:45 +0100
committerPeter Eisentraut <peter@eisentraut.org>2022-02-14 21:57:26 +0100
commitcfc7191dfea330dd7a71e940d59de78129bb6175 (patch)
treed1d6bc5dbade67b536fc09457b2e71a6fad61c4a /src/backend/tcop/postgres.c
parent291ec6e45ebe1a87f930a250ad3c6672472b9b19 (diff)
downloadpostgresql-cfc7191dfea330dd7a71e940d59de78129bb6175.tar.gz
postgresql-cfc7191dfea330dd7a71e940d59de78129bb6175.zip
Move scanint8() to numutils.c
Move scanint8() to numutils.c and rename to pg_strtoint64(). We already have a "16" and "32" version of that, and the code inside the functions was aligned, so this move makes all three versions consistent. The API is also changed to no longer provide the errorOK case. Users that need the error checking can use strtoi64(). 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/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions