indexcmds.c: reorder function prototypes
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 17 Nov 2020 14:37:36 +0000 (11:37 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 17 Nov 2020 17:22:26 +0000 (14:22 -0300)
... out of an overabundance of neatnikism, perhaps.

src/backend/commands/indexcmds.c

index 35696f9f757546be16489fd37d6ca8973fbaa27b..02c7a0c7e1f09d4365c70ecc20d52de9b47c2057 100644 (file)
@@ -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()