| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Change float{4,8}in_internal take const char * input argument |
| Date: | 2026-10-19 07:06:57 |
| Message-ID: | E1xIhST-00000002EFb-1iCg@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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 <zhaorui126(at)gmail(dot)com>
Reviewed-by: Andres Freund <andres(at)anarazel(dot)de> (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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Rowley | 2026-10-19 08:03:31 | pgsql: Recompute allocChunkLimit when reusing an AllocSet context |
| Previous Message | David Rowley | 2026-10-19 06:44:53 | pgsql: Recompute allocChunkLimit when reusing an AllocSet context |