diff options
| author | Robert Haas | 2011-07-18 15:02:48 +0000 |
|---|---|---|
| committer | Robert Haas | 2011-07-18 15:04:43 +0000 |
| commit | 367bc426a1c22b9f6badb06cd41fc438fd034639 (patch) | |
| tree | eb518f0e9399e0857f0e5f79c10750e1bfdaf909 /src/include/commands | |
| parent | 8f8a273c4d2433de57f6f0356f44ab47b7387641 (diff) | |
Avoid index rebuild for no-rewrite ALTER TABLE .. ALTER TYPE.
Noah Misch. Review and minor cosmetic changes by me.
Diffstat (limited to 'src/include/commands')
| -rw-r--r-- | src/include/commands/defrem.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/commands/defrem.h b/src/include/commands/defrem.h index bbc024f50cc..81c515ebed3 100644 --- a/src/include/commands/defrem.h +++ b/src/include/commands/defrem.h @@ -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 */ |
