pgsql: Fix some shadow variables in src/backend/replication/

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Fix some shadow variables in src/backend/replication/
Дата
Msg-id E1qbUIq-001jrp-VQ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: pgsql: Rename some support functions for pgstat* views.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Restructure DECLARE_INDEX arguments