| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | -Wcast-qual home stretch |
| Date: | 2026-11-03 15:34:36 |
| Message-ID: | 70b86618-4038-4b19-8847-1a400d99d477@eisentraut.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
We have been progressively cleaning up -Wcast-qual warnings this year.
This patch set is the final part of this, containing a few tricky,
complicated, and/or ugly cases that I have been putting off. And then
we can turn -Wcast-qual on by default. Each patch is individually
described in its commit message. Alternative approaches are possible;
feedback welcome.
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Fix-accidentally-casting-away-const.patch | text/plain | 1006 bytes |
| 0002-Fix-Wcast-qual-warning-in-lnext.patch | text/plain | 1.0 KB |
| 0003-Fix-Wcast-qual-warning-in-foreach_delete_current.patch | text/plain | 1.7 KB |
| 0004-Fix-Wcast-qual-warning-in-XLogInsertRecord.patch | text/plain | 4.0 KB |
| 0005-Fix-Wcast-qual-warnings-in-regex-module.patch | text/plain | 3.0 KB |
| 0006-Fix-Wcast-qual-warning-in-guc_funcs.c.patch | text/plain | 2.0 KB |
| 0007-Add-unconstify_pointee.patch | text/plain | 5.2 KB |
| 0008-Fix-Wcast-qual-warnings-in-read-write-accessor-macro.patch | text/plain | 6.8 KB |
| 0009-Adjust-unconstify-unvolatize-to-avoid-Wcast-qual-war.patch | text/plain | 1.9 KB |
| 0010-Add-warning-option-Wcast-qual.patch | text/plain | 1.9 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alexander Pyhalov | 2026-11-03 15:35:07 | Re: Make Append subplans async capable in more cases |
| Previous Message | Robert Haas | 2026-11-03 15:31:43 | Re: pg_plan_advice fails on a CustomScan that replaces a join |