Re: Fix accidentally cast away qualifiers - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Fix accidentally cast away qualifiers
Date
Msg-id deb94c8a-673e-4a25-97ca-c0b2cc22effc@eisentraut.org
Whole thread Raw
In response to Re: Fix accidentally cast away qualifiers  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
List pgsql-hackers
On 21.01.26 15:56, Bertrand Drouvot wrote:
> Hi,
> 
> On Wed, Jan 21, 2026 at 02:24:58PM +0000, Bertrand Drouvot wrote:
>> Hi,
>>
>> On Wed, Jan 21, 2026 at 12:31:27PM +0100, Peter Eisentraut wrote:
>>> Strange, I don't see that.  What compiler is this, and do you use any
>>> special options?
>>
>> It's gcc 14.1.0 with "CFLAGS=-O0 -ggdb3 -fno-omit-frame-pointer -gdwarf-2 -g3
>> -Wdiscarded-qualifiers -Wunused-value -Werror=maybe-uninitialized
>> -Werror=format -Wreturn-type"
>>
>> But I just tested with a simple test case, some compilers and some options and I've
>> always seen the warning (see [1])
> 
> FWIW, and so does the CI: https://github.com/bdrouvot/postgres/runs/61028037498

I must have done something wrong on my side.  I have committed it with 
your corrections.




pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pg_stat_io_histogram
Next
From: Heikki Linnakangas
Date:
Subject: Re: unnecessary executor overheads around seqscans