pgsql: Fix misuse of "const" qualifier. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix misuse of "const" qualifier.
Date
Msg-id E1nJP73-0000z7-QP@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix misuse of "const" qualifier.

"const foo *" is quite different from "foo * const".
This code was evidently trying to avoid casting away
const from the arguments, but entirely failed to do so.

Per study of some buildfarm warnings from anole
(which unfortunately are mostly ignorable, since it
seems not to understand "restrict" very well).
I'm surprised though that nothing else has complained.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/994d76707a254da6d03e389fa46141371a99e4e1

Modified Files
--------------
src/backend/partitioning/partbounds.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Remove REGRESS_OUTPUTDIR environment variable.
Next
From: Michael Paquier
Date:
Subject: pgsql: Make origin data initialization consistent other fields in 2PC h