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+dkp8...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/b5934bfd6071fed3a38cea0cfaa93afda63d9c0c Modified Files -------------- src/backend/replication/logical/logicalfuncs.c | 4 ++-- src/backend/replication/logical/reorderbuffer.c | 6 +++--- src/backend/replication/walsender.c | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-)