diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-11-17 11:37:36 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-11-17 14:22:26 -0300 |
commit | 7684b6fbed3a0770a0d8fdcbb5cf8b61394de691 (patch) | |
tree | 3a118fa9c473edf8664e85f1b519f24f563a112e /src | |
parent | a034f8b60c6e9afd75f42dc420a76cb9d3875fcb (diff) | |
download | postgresql-7684b6fbed3a0770a0d8fdcbb5cf8b61394de691.tar.gz postgresql-7684b6fbed3a0770a0d8fdcbb5cf8b61394de691.zip |
indexcmds.c: reorder function prototypes
... out of an overabundance of neatnikism, perhaps.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/commands/indexcmds.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c index 35696f9f757..02c7a0c7e1f 100644 --- a/src/backend/commands/indexcmds.c +++ b/src/backend/commands/indexcmds.c @@ -68,6 +68,7 @@ /* non-export function prototypes */ +static bool CompareOpclassOptions(Datum *opts1, Datum *opts2, int natts); static void CheckPredicate(Expr *predicate); static void ComputeIndexAttrs(IndexInfo *indexInfo, Oid *typeOidP, @@ -87,13 +88,11 @@ static char *ChooseIndexNameAddition(List *colnames); static List *ChooseIndexColumnNames(List *indexElems); static void RangeVarCallbackForReindexIndex(const RangeVar *relation, Oid relId, Oid oldRelId, void *arg); -static bool ReindexRelationConcurrently(Oid relationOid, int options); - +static void reindex_error_callback(void *args); static void ReindexPartitions(Oid relid, int options, bool isTopLevel); static void ReindexMultipleInternal(List *relids, int options); -static void reindex_error_callback(void *args); +static bool ReindexRelationConcurrently(Oid relationOid, int options); static void update_relispartition(Oid relationId, bool newval); -static bool CompareOpclassOptions(Datum *opts1, Datum *opts2, int natts); /* * callback argument type for RangeVarCallbackForReindexIndex() |