enhance tuple lock
This commit is contained in:
@ -82,7 +82,8 @@ extern Relation partitionGetRelation(Relation rel, Partition part);
|
||||
|
||||
void releaseDummyRelation(Relation* relation);
|
||||
|
||||
extern void PartitionSetNewRelfilenode(Relation parent, Partition part, TransactionId freezeXid);
|
||||
extern void PartitionSetNewRelfilenode(Relation parent, Partition part, TransactionId freezeXid,
|
||||
MultiXactId freezeMultiXid);
|
||||
|
||||
/*
|
||||
* Routines for global partition index open partition
|
||||
|
||||
@ -157,6 +157,7 @@ typedef struct RelationData {
|
||||
|
||||
/* data managed by RelationGetIndexAttrBitmap: */
|
||||
Bitmapset* rd_indexattr; /* identifies columns used in indexes */
|
||||
Bitmapset* rd_keyattr; /* cols that can be ref'd by foreign keys */
|
||||
Bitmapset* rd_idattr; /* included in replica identity index */
|
||||
|
||||
/*
|
||||
|
||||
@ -114,7 +114,8 @@ extern Relation RelationBuildLocalRelation(const char* relname, Oid relnamespace
|
||||
*/
|
||||
extern void DescTableSetNewRelfilenode(Oid relid, TransactionId freezeXid, bool partition);
|
||||
extern void DeltaTableSetNewRelfilenode(Oid relid, TransactionId freezeXid, bool partition);
|
||||
extern void RelationSetNewRelfilenode(Relation relation, TransactionId freezeXid, bool isDfsTruncate = false);
|
||||
extern void RelationSetNewRelfilenode(Relation relation, TransactionId freezeXid, MultiXactId minmulti,
|
||||
bool isDfsTruncate = false);
|
||||
extern RelFileNodeBackend CreateNewRelfilenode(Relation relation, TransactionId freezeXid);
|
||||
extern void UpdatePgclass(Relation relation, TransactionId freezeXid, const RelFileNodeBackend *rnode);
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user