pgsql: Fix variable shadowing in procarray.c.

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема pgsql: Fix variable shadowing in procarray.c.
Дата
Msg-id E1mQij8-0000Du-FY@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix variable shadowing in procarray.c.

ProcArrayGroupClearXid function has a parameter named "proc",
but the same name was used for its local variables. This commit fixes
this variable shadowing, to improve code readability.

Back-patch to all supported versions, to make future back-patching
easy though this patch is classified as refactoring only.

Reported-by: Ranier Vilela
Author: Ranier Vilela, Aleksander Alekseev
https://postgr.es/m/CAEudQAqyoTZC670xWi6w-Oe2_Bk1bfu2JzXz6xRfiOUzm7xbyQ@mail.gmail.com

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8767a86fa2b1d24537cca318a26fc68d7e457911

Modified Files
--------------
src/backend/storage/ipc/procarray.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)


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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: pgsql: Fix variable shadowing in procarray.c.
Следующее
От: Fujii Masao
Дата:
Сообщение: pgsql: Fix variable shadowing in procarray.c.