mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03:00
Extend index AM API for parallel index scans.
This patch doesn't actually make any index AM parallel-aware, but it provides the necessary functions at the AM layer to do so. Rahila Syed, Amit Kapila, Robert Haas
This commit is contained in:
@@ -527,6 +527,9 @@ typedef NameData *Name;
|
||||
#define PointerIsAligned(pointer, type) \
|
||||
(((uintptr_t)(pointer) % (sizeof (type))) == 0)
|
||||
|
||||
#define OffsetToPointer(base, offset) \
|
||||
((void *)((char *) base + offset))
|
||||
|
||||
#define OidIsValid(objectId) ((bool) ((objectId) != InvalidOid))
|
||||
|
||||
#define RegProcedureIsValid(p) OidIsValid(p)
|
||||
|
Reference in New Issue
Block a user