diff options
author | Fujii Masao <fujii@postgresql.org> | 2021-09-16 13:06:21 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2021-09-16 13:06:21 +0900 |
commit | dc899146dbf0e1d23fb24155a5155826ddce34c9 (patch) | |
tree | 8e318ae1403bf2956a95f62478fe81a3bdac8faa /src/backend/tcop/postgres.c | |
parent | 64a62ebeeb84af2a51b963a1737f804a0fed4246 (diff) | |
download | postgresql-dc899146dbf0e1d23fb24155a5155826ddce34c9.tar.gz postgresql-dc899146dbf0e1d23fb24155a5155826ddce34c9.zip |
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
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions