Change float{4,8}in_internal take const char * input argument
This makes the function signature match strtof()/strtod().
A caller then doesn't have to cast away a const anymore.
Reviewed-by: Rui Zhao <[email protected]>
Reviewed-by: Andres Freund <[email protected]> (older version)
Discussion:
https://www.postgresql.org/message-id/c76b72dd-5736-453a-b698-6968d42e4768%40eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/2db51901c48e44369f5e6f209a65983c206075da
Modified Files
--------------
contrib/postgres_fdw/postgres_fdw.c | 2 +-
src/backend/utils/adt/float.c | 19 ++++++++-----------
src/include/utils/float.h | 4 ++--
3 files changed, 11 insertions(+), 14 deletions(-)