Re: Fix a recent "shadow warning" in subscriptioncmds.c

Peter Smith <smithpb2250@gmail.com>

From: Peter Smith <smithpb2250@gmail.com>
To: Chao Li <li.evan.chao@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-11-28T05:11:30Z
Lists: 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



Commits

  1. Fix shadow variable warning in subscriptioncmds.c.

  2. Introduce "REFRESH SEQUENCES" for subscriptions.