Refactor the index AM API slightly: move currentItemData and
Neil Conway <neilc@samurai.com>
Refactor the index AM API slightly: move currentItemData and currentMarkData from IndexScanDesc to the opaque structs for the AMs that need this information (currently gist and hash). Patch from Heikki Linnakangas, fixes by Neil Conway.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/gist/gistget.c | modified | +9 −8 |
| src/backend/access/gist/gistscan.c | modified | +9 −9 |
| src/backend/access/hash/hash.c | modified | +22 −22 |
| src/backend/access/hash/hashsearch.c | modified | +6 −6 |
| src/backend/access/index/genam.c | modified | +1 −4 |
| src/include/access/gist_private.h | modified | +3 −1 |
| src/include/access/hash.h | modified | +5 −1 |
| src/include/access/nbtree.h | modified | +1 −4 |
| src/include/access/relscan.h | modified | +1 −4 |