解决防篡改分区表insert时,全局索引tableoid为0的问题。

This commit is contained in:
playrest
2023-02-13 15:07:59 +08:00
parent 3fee79a080
commit bb7cffcc3b
8 changed files with 261 additions and 10 deletions

View File

@ -38,7 +38,7 @@ void rename_hist_by_newnsp(Oid user_relid, const char *new_nsp_name);
void rename_histlist_by_newnsp(List *usertable_oid_list, const char *new_nsp_name);
/* DML support for user table */
HeapTuple set_user_tuple_hash(HeapTuple tup, Relation rel, bool hash_exists = false);
HeapTuple set_user_tuple_hash(HeapTuple tup, Relation rel, TupleTableSlot *slot, bool hash_exists = false);
int user_hash_attrno(const TupleDesc rd_att);
uint64 get_user_tuple_hash(HeapTuple tuple, TupleDesc desc);
uint64 get_user_tupleid_hash(Relation relation, ItemPointer tupleid);