Re: Fix a recent "shadow warning" in subscriptioncmds.c - Mailing list pgsql-hackers

From Peter Smith
Subject Re: Fix a recent "shadow warning" in subscriptioncmds.c
Date
Msg-id CAHut+Puugit=Ac9Hqc=wJz1_T=btSg13aOjSeZO4imaDwxqhgw@mail.gmail.com
Whole thread Raw
In response to Re: Fix a recent "shadow warning" in subscriptioncmds.c  (Chao Li <li.evan.chao@gmail.com>)
List pgsql-hackers
On Fri, Nov 28, 2025 at 3:50 PM Chao Li <li.evan.chao@gmail.com> wrote:
...
> I’m just curious why my compile doesn’t warn on that? I am on M4 MacOS 15.6.1, Apple clang 17.0.0.

It's not the default build settings. I have this extra warning enabled
locally so that any code I write or review will not accidentally
introduce things like this.

======
Kind Regards,
Peter Smith.
Fujitsu Australia



pgsql-hackers by date:

Previous
From: shveta malik
Date:
Subject: Re: POC: enable logical decoding when wal_level = 'replica' without a server restart
Next
From: Peter Smith
Date:
Subject: Re: Simplify code building the LR conflict messages