| From: | Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com> |
|---|---|
| To: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
| Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Fix accidentally cast away qualifiers |
| Date: | 2026-01-21 14:56:37 |
| Message-ID: | aXDpJUt5QenOlPSl@ip-10-97-1-34.eu-west-3.compute.internal |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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
Regards,
--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrey Silitskiy | 2026-01-21 15:11:47 | Re: Exit walsender before confirming remote flush in logical replication |
| Previous Message | Alexander Pyhalov | 2026-01-21 14:53:41 | Remove no-op pull_var_clause flag |