Re: fix more casting away of qualifiers - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: fix more casting away of qualifiers
Date
Msg-id 08796e63-9a2c-439c-b60e-01b0ae6b4801@eisentraut.org
Whole thread
In response to Re: fix more casting away of qualifiers  (Rui Zhao <zhaorui126@gmail.com>)
List pgsql-hackers
On 01.10.26 18:44, Rui Zhao wrote:
> One small thing in 0005, in src/backend/utils/adt/float.c: the comment
> above float8in_internal() still says:
> 
>> "num" could validly be declared "const char *", but that results in an
>> unreasonable amount of extra casting both here and in callers,
>> so we don't.
> Could we remove those two lines now that num is const char *?

I have committed a few of these patches that did not receive any other 
comments, and I will incorporate your feedback into the updated patch 
series for the rest.  Thanks.



pgsql-hackers by date:

Previous
From: Baji Shaik
Date:
Subject: [PATCH] Unify duplicate-option handling across utility commands
Next
From: Bohyun Lee
Date:
Subject: Re: [PATCH] pg_upgrade: add --initdb option to create the new cluster automatically