dolphin: add null first policy api
This commit is contained in:
@ -473,6 +473,15 @@ extern void DestroyPartitionMap(PartitionMap* partMap);
|
||||
extern bool trySearchFakeReationForPartitionOid(HTAB** fakeRels, MemoryContext cxt, Relation rel, Oid partOid,
|
||||
int partitionno, Relation* fakeRelation, Partition* partition, LOCKMODE lmode, bool checkSubPart = true);
|
||||
|
||||
#ifndef FRONTEND
|
||||
typedef bool (*nullsMinimalPolicy)();
|
||||
extern inline bool CheckPluginNullsPolicy()
|
||||
{
|
||||
return DB_IS_CMPT(B_FORMAT) && (u_sess->hook_cxt.nullsMinimalPolicyHook != NULL ?
|
||||
((nullsMinimalPolicy)(u_sess->hook_cxt.nullsMinimalPolicyHook))() : false);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* partitoin map copy functions */
|
||||
extern ListPartitionMap *CopyListPartitionMap(ListPartitionMap *src_lpm);
|
||||
/* more! other hash/range and its underlaying element data structores will add here later */
|
||||
|
||||
Reference in New Issue
Block a user