Fix some shadow variables in src/backend/replication/
Michael Paquier <michael@paquier.xyz>
Fix some shadow variables in src/backend/replication/ The code is able to compile already without warnings under -Wshadow=compatible-local, which is itself already enabled in the tree, and the ones fixed here showed up with the more restrictive -Wshadow. There are more of these that we may want to look at, and the ones fixed here made the code confusing. Author: Peter Smith Discussion: https://postgr.es/m/CAHut+PuR0y4ofNOxi691VTVWmBfScHV9AaBMGSpeh8+DKp81Nw@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/logical/logicalfuncs.c | modified | +2 −2 |
| src/backend/replication/logical/reorderbuffer.c | modified | +3 −3 |
| src/backend/replication/walsender.c | modified | +4 −4 |
Discussion
- Fix shadow warnings in logical replication code 5 messages · 2023-08-29 → 2023-08-31