You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Remove direct uses of ItemPointer.{ip_blkid,ip_posid}
There are no functional changes here; this simply encapsulates knowledgeof the ItemPointerData struct so that a future patch can change thingswithout more breakage.All direct users of ip_blkid and ip_posid are changed to use existingmacros ItemPointerGetBlockNumber and ItemPointerGetOffsetNumberrespectively. For callers where that's inappropriate (because theyAssert that the itempointer is is valid-looking), addItemPointerGetBlockNumberNoCheck and ItemPointerGetOffsetNumberNoCheck,which lack the assertion but are otherwise identical.Author: Pavan DeolaseeDiscussion:https://postgr.es/m/CABOikdNnFon4cJiL=h1mZH3bgUeU+sWHuU4Yr8AB=j3A2p1GiA@mail.gmail.com