RE: [Proposal] Level4 Warnings show many shadow vars
Ranier VF <ranier_gyn@hotmail.com>
From: Ranier Vilela <ranier_gyn@hotmail.com>
To: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2019-12-06T23:18:14Z
Lists: pgsql-hackers
Robert Haas wrote: >Maybe you want to post a few examples. It's hard to discuss in the abstract. I am working on the patch. I think this is a great example. I do not know if it is better to rename the local parameter, or if it should be renamed the global variable. line: 68 var char **synchronous_commit backend/commands/subscriptioncmds.c global var declared here: /include/access/xact.h(82) One question, is it better to submit the patch on this topic, or create a new one? regards, Ranier Vilela
Commits
-
Remove shadow variables linked to RedoRecPtr in xlog.c
- 668365014d7b 11.7 landed
- 35c01529b8c9 12.2 landed
- 70116493a8e0 13.0 landed
-
Fix calculation for WAL segment recycling and removal
- d9fadbf13103 12.0 cited