Use the GetPGProcByNumber() macro when possible A few places were accessing &ProcGlobal->allProcs directly, so adjust them to use the accessor macro instead.
Author: Maksim Melnikov <[email protected]> Reviewed-by: Chao Li <[email protected]> Reviewed-by: David Rowley <[email protected]> Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/4c144e0452daa2508a008bb4cde520613bbd386d Modified Files -------------- src/backend/access/transam/clog.c | 4 ++-- src/backend/postmaster/pgarch.c | 2 +- src/backend/postmaster/walsummarizer.c | 2 +- src/backend/storage/buffer/freelist.c | 2 +- src/backend/storage/lmgr/lock.c | 6 +++--- src/backend/storage/lmgr/proc.c | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-)
