Refactor PredicateLockShmemInit to not reuse var for different things The PredicateLockShmemInit function is pretty complicated, and one source of confusion is that it reuses the same local variable for sizes of things. Replace the different uses with separate variables for clarity.
Reviewed-by: Ashutosh Bapat <[email protected]> Discussion: https://www.postgresql.org/message-id/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/3fd0577728277e66f072f3b07adf78299dfad7cc Modified Files -------------- src/backend/storage/lmgr/predicate.c | 68 +++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 33 deletions(-)
