Fix misuse of "const" qualifier.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 14 Feb 2022 00:11:21 +0000 (19:11 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 14 Feb 2022 00:20:56 +0000 (19:20 -0500)
commit994d76707a254da6d03e389fa46141371a99e4e1
treebd114561ca7703bfbe7012acd78b20ffab15f275
parent7e6124ca7d81f4767a44bae487226bc8b003ec31
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.
src/backend/partitioning/partbounds.c