Re: fix more casting away of qualifiers - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: fix more casting away of qualifiers
Date
Msg-id 5d20850c-a2a1-45c8-83ed-7efb0303a90a@eisentraut.org
Whole thread
List pgsql-hackers
On 25.08.26 10:52, Daniel Gustafsson wrote:
>> On 25 Aug 2026, at 10:42, Peter Eisentraut <peter@eisentraut.org> wrote:
> 
>> I have committed these patches except the one above.
> 
> BF member sifaka complains due to (it seems like) macOS bundling readline 3.0
> in the base OS.  Maybe we need a configure/meson check for this?
> 
> tab-complete.in.c:1525:19: error: assigning to 'char *' from 'const char *' discards qualifiers
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
> 1525 | rl_readline_name = pset.progname;
> | ^ ~~~~~~~~~~~~~
> 1 error generated.

Ok, thanks, I'm going to revert it.  I was anticipating something like 
this, but at least now we know for sure.




Attachment

pgsql-hackers by date:

Previous
From: prankware
Date:
Subject: Re: COALESCE patch
Next
From: Sagar Shedge
Date:
Subject: Re: [PATCH v1] Report specific wait events for libpq cancel requests