Fix variable shadowing in procarray.c.

Fujii Masao <fujii@postgresql.org>

Commit: 639d731acc2b6a998e262a29d5a4a6f5b3340952
Author: Fujii Masao <fujii@postgresql.org>
Date: 2021-09-16T04:08:12Z
Releases: 10.19
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

Files

PathChange+/−
src/backend/storage/ipc/procarray.c modified +9 −9