Fix variable shadowing in procarray.c

Enterprise / PostgreSQL - Fujii Masao [] - 16 September 2021 04:06 UTC

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.

dc899146db Fix variable shadowing in procarray.c.
src/backend/storage/ipc/procarray.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)


  • Share