Re: -Wcast-qual home stretch

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: -Wcast-qual home stretch
Date: 2026-11-13 09:36:29
Message-ID: 24b15122-3e1c-4ef1-b102-893639ee5f4c@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 05.11.26 06:39, Chao Li wrote:
>> Ok, what platform and libreadline/libedit version is this? (It's apparently not covered on CI.)
>>
>
> It's MacOS 26.6.2 on arm64, using Apple’s system libedit. otool -L reports current version 3.0.0 and compatibility version 2.0.0:
Here is an updated patch set. It needed a bit of rebasing over this
week's security fixes. And I included a fix for the macOS libedit issue.

Attachment Content-Type Size
v2-0001-Fix-accidentally-casting-away-const.patch text/plain 1.0 KB
v2-0002-Fix-Wcast-qual-warning-in-lnext.patch text/plain 1.1 KB
v2-0003-Fix-Wcast-qual-warning-in-foreach_delete_current.patch text/plain 1.9 KB
v2-0004-Fix-Wcast-qual-warning-in-XLogInsertRecord.patch text/plain 4.1 KB
v2-0005-Fix-Wcast-qual-warnings-in-regex-module.patch text/plain 3.1 KB
v2-0006-Fix-Wcast-qual-warning-in-guc_funcs.c.patch text/plain 2.1 KB
v2-0007-Fix-Wcast-qual-warnings-in-psql.patch text/plain 1.8 KB
v2-0008-Add-unconstify_pointee.patch text/plain 5.3 KB
v2-0009-Fix-Wcast-qual-warnings-in-read-write-accessor-ma.patch text/plain 6.9 KB
v2-0010-Adjust-unconstify-unvolatize-to-avoid-Wcast-qual-.patch text/plain 1.9 KB
v2-0011-Add-warning-option-Wcast-qual.patch text/plain 2.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hayato Kuroda (Fujitsu) 2026-11-13 09:43:17 RE: Injection point: fix race condition between attach and cleanup
Previous Message Richard Guo 2026-11-13 09:35:21 Simplify the uniqueness proof for self-join elimination