Rename 'lpp' to 'lp' in heapam.c - Mailing list pgsql-hackers

From Yaphters W
Subject Rename 'lpp' to 'lp' in heapam.c
Date
Msg-id CAHi_D_YPh8Hgs1sK26vruuNjH-zwNK8j0QP4TapieU9HiCU9Vw@mail.gmail.com
Whole thread Raw
Responses Re: Rename 'lpp' to 'lp' in heapam.c
List pgsql-hackers
Hi,

I just found the naming of the ItemId variables is not consistent in heapam.c. There are 13 'lpp's and 112 'lp's. Technically 'lpp' is correct as ItemId is a line pointer's pointer and there used to be code like "++lpp" for line pointer array iteration. Now that all the "++lpp" code has been removed and there are 100+ more occurrences of 'Ip' than 'lpp', I suggest we change 'lpp' to 'lp' to make things consistent and avoid confusion.

Best Regards,
Zian Wang
Attachment

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Overhauling "Routine Vacuuming" docs, particularly its handling of freezing
Next
From: John Naylor
Date:
Subject: Re: [PATCH] Clarify the behavior of the system when approaching XID wraparound