postgresql/src/include/access
Alvaro Herrera ce96ce60ca Remove direct uses of ItemPointer.{ip_blkid,ip_posid}
There are no functional changes here; this simply encapsulates knowledge
of the ItemPointerData struct so that a future patch can change things
without more breakage.

All direct users of ip_blkid and ip_posid are changed to use existing
macros ItemPointerGetBlockNumber and ItemPointerGetOffsetNumber
respectively.  For callers where that's inappropriate (because they
Assert that the itempointer is is valid-looking), add
ItemPointerGetBlockNumberNoCheck and ItemPointerGetOffsetNumberNoCheck,
which lack the assertion but are otherwise identical.

Author: Pavan Deolasee
Discussion: https://postgr.es/m/CABOikdNnFon4cJiL=h1mZH3bgUeU+sWHuU4Yr8AB=j3A2p1GiA@mail.gmail.com
2017-03-28 19:02:23 -03:00
..
amapi.h Add optimizer and executor support for parallel index scans. 2017-02-15 13:53:24 -05:00
amvalidate.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
attnum.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
brin.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
brin_internal.h Allow index AMs to cache data across aminsert calls within a SQL command. 2017-02-09 11:52:12 -05:00
brin_page.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
brin_pageops.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
brin_revmap.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
brin_tuple.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
brin_xlog.h Add WAL consistency checking facility. 2017-02-08 15:45:30 -05:00
bufmask.h Remove inclusion of postgres.h from a few header files. 2017-03-08 08:18:12 -05:00
clog.h Track the oldest XID that can be safely looked up in CLOG. 2017-03-23 14:26:31 -04:00
commit_ts.h Fix race condition in reading commit timestamps 2017-01-19 18:24:17 -03:00
genam.h Allow index AMs to cache data across aminsert calls within a SQL command. 2017-02-09 11:52:12 -05:00
generic_xlog.h Add WAL consistency checking facility. 2017-02-08 15:45:30 -05:00
gin.h Split index xlog headers from other private index headers. 2017-02-14 15:37:59 -05:00
gin_private.h Remove direct uses of ItemPointer.{ip_blkid,ip_posid} 2017-03-28 19:02:23 -03:00
ginblock.h Remove direct uses of ItemPointer.{ip_blkid,ip_posid} 2017-03-28 19:02:23 -03:00
ginxlog.h Split index xlog headers from other private index headers. 2017-02-14 15:37:59 -05:00
gist.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
gist_private.h Allow index AMs to return either HeapTuple or IndexTuple format during IOS. 2017-02-27 17:20:34 -05:00
gistscan.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
gistxlog.h Split index xlog headers from other private index headers. 2017-02-14 15:37:59 -05:00
hash.h Port single-page btree vacuum logic to hash indexes. 2017-03-15 22:18:56 -04:00
hash_xlog.h Still more code review for single-page hash vacuuming. 2017-03-27 12:51:10 -04:00
heapam.h Support parallel bitmap heap scans. 2017-03-08 12:05:43 -05:00
heapam_xlog.h Add WAL consistency checking facility. 2017-02-08 15:45:30 -05:00
hio.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
htup.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
htup_details.h Remove direct uses of ItemPointer.{ip_blkid,ip_posid} 2017-03-28 19:02:23 -03:00
itup.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
multixact.h Make logging about multixact wraparound protection less chatty. 2017-03-14 12:47:53 -04:00
nbtree.h Remove direct uses of ItemPointer.{ip_blkid,ip_posid} 2017-03-28 19:02:23 -03:00
nbtxlog.h Split index xlog headers from other private index headers. 2017-02-14 15:37:59 -05:00
parallel.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
printsimple.h Add a new DestReceiver for printing tuples without catalog access. 2017-01-24 16:53:56 -05:00
printtup.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
reloptions.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
relscan.h Allow index AMs to return either HeapTuple or IndexTuple format during IOS. 2017-02-27 17:20:34 -05:00
rewriteheap.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
rmgr.h Add WAL consistency checking facility. 2017-02-08 15:45:30 -05:00
rmgrlist.h hash: Support WAL consistency checking. 2017-03-14 14:58:56 -04:00
sdir.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
skey.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
slru.h Rename "pg_clog" directory to "pg_xact". 2017-03-17 09:48:38 -04:00
spgist.h Split index xlog headers from other private index headers. 2017-02-14 15:37:59 -05:00
spgist_private.h Allow index AMs to return either HeapTuple or IndexTuple format during IOS. 2017-02-27 17:20:34 -05:00
spgxlog.h Split index xlog headers from other private index headers. 2017-02-14 15:37:59 -05:00
stratnum.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
subtrans.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
sysattr.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
timeline.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
transam.h Track the oldest XID that can be safely looked up in CLOG. 2017-03-23 14:26:31 -04:00
tsmapi.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
tupconvert.h Fix ALTER TABLE / SET TYPE for irregular inheritance 2017-01-09 19:26:58 -03:00
tupdesc.h Add a SHOW command to the replication command language. 2017-01-24 17:04:12 -05:00
tupmacs.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
tuptoaster.h Improve performance of ExecEvalWholeRowVar. 2017-03-26 19:14:57 -04:00
twophase.h Revert "Use group updates when setting transaction status in clog." 2017-03-10 14:49:56 -05:00
twophase_rmgr.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
valid.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
visibilitymap.h Fix typos in comments. 2017-02-06 11:33:58 +02:00
xact.h Improve performance of replay of AccessExclusiveLocks 2017-03-22 13:09:36 +00:00
xlog.h Fix backup canceling 2017-03-24 13:53:40 +03:00
xlog_internal.h Track the oldest XID that can be safely looked up in CLOG. 2017-03-23 14:26:31 -04:00
xlogdefs.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
xloginsert.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
xlogreader.h Teach xlogreader to follow timeline switches 2017-03-22 07:05:12 +00:00
xlogrecord.h Add WAL consistency checking facility. 2017-02-08 15:45:30 -05:00
xlogutils.h Teach xlogreader to follow timeline switches 2017-03-22 07:05:12 +00:00