Improve confusing variable names

Peter Eisentraut <peter@eisentraut.org>

Commit: 1d71f3c83c113849fe3aa60cb2d2c12729485e97
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2021-02-02T08:20:22Z
Releases: 14.0
Improve confusing variable names

The prototype calls the second argument of
pgstat_progress_update_multi_param() "index", and some callers name
their local variable that way.  But when the surrounding code deals
with index relations, this is confusing, and in at least one case
shadowed another variable that is referring to an index relation.
Adjust those call sites to have clearer local variable naming, similar
to existing callers in indexcmds.c.

Files

PathChange+/−
src/backend/access/nbtree/nbtsort.c modified +3 −3
src/backend/catalog/index.c modified +9 −9