Adjust amrescan code so that it's allowed to call index_rescan with a
Tom Lane <tgl@sss.pgh.pa.us>
Adjust amrescan code so that it's allowed to call index_rescan with a NULL key pointer, indicating that the existing scan key should be reused. This behavior isn't used yet but will be needed for my planned fix to the keys_are_unique code.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/gist/gistscan.c | modified | +24 −32 |
| src/backend/access/hash/hash.c | modified | +4 −6 |
| src/backend/access/index/indexam.c | modified | +7 −3 |
| src/backend/access/nbtree/nbtree.c | modified | +4 −3 |
| src/backend/access/rtree/rtscan.c | modified | +25 −29 |