!2616 修复AUTO_INCREMENT自增列约束问题,gs_dump支持导出自增列索引

Merge pull request !2616 from 李居东/fixbug
This commit is contained in:
opengauss-bot
2022-12-19 07:33:09 +00:00
committed by Gitee
8 changed files with 317 additions and 68 deletions

View File

@ -160,4 +160,5 @@ extern int getPartitionElementsIndexByOid(Relation partTableRel, Oid partOid);
extern void SetPartionIndexType(IndexStmt* stmt, Relation rel, bool is_alter_table);
extern bool ConstraintSatisfyAutoIncrement(HeapTuple tuple, TupleDesc desc, AttrNumber attrnum, char contype);
extern void CheckRelAutoIncrementIndex(Oid relid, LOCKMODE lockmode);
#endif /* TABLECMDS_H */