mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Avoid index rebuild for no-rewrite ALTER TABLE .. ALTER TYPE.
Noah Misch. Review and minor cosmetic changes by me.
This commit is contained in:
@@ -18,9 +18,10 @@
|
||||
|
||||
|
||||
/* commands/indexcmds.c */
|
||||
extern void DefineIndex(RangeVar *heapRelation,
|
||||
extern Oid DefineIndex(RangeVar *heapRelation,
|
||||
char *indexRelationName,
|
||||
Oid indexRelationId,
|
||||
Oid relFileNode,
|
||||
char *accessMethodName,
|
||||
char *tableSpaceName,
|
||||
List *attributeList,
|
||||
@@ -49,6 +50,11 @@ extern char *ChooseIndexName(const char *tabname, Oid namespaceId,
|
||||
List *colnames, List *exclusionOpNames,
|
||||
bool primary, bool isconstraint);
|
||||
extern List *ChooseIndexColumnNames(List *indexElems);
|
||||
extern bool CheckIndexCompatible(Oid oldId,
|
||||
RangeVar *heapRelation,
|
||||
char *accessMethodName,
|
||||
List *attributeList,
|
||||
List *exclusionOpNames);
|
||||
extern Oid GetDefaultOpClass(Oid type_id, Oid am_id);
|
||||
|
||||
/* commands/functioncmds.c */
|
||||
|
||||
Reference in New Issue
Block a user