Fix accidentally cast away qualifiers
Peter Eisentraut <peter@eisentraut.org>
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-01-20T07:54:18Z
Lists: pgsql-hackers
Attachments
- 0001-Fix-accidentally-cast-away-qualifiers.patch (text/plain) patch 0001
This patch fixes cases where a qualifier (const, in all cases here) was dropped by a cast, but the cast was otherwise necessary or desirable, so the straightforward fix is to add the qualifier into the cast. This was checked with gcc -Wcast-qual, but it doesn't fix all such warnings, only the trivially fixable ones.
Commits
-
Fix accidentally cast away qualifiers
- 5ca5f12c2c62 19 (unreleased) landed