git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8e1fae1)
Fix compilation error introduced by commit 8e1fae1938.
2021年12月23日 07:14:45 +0000 (12:44 +0530)
2021年12月23日 07:16:27 +0000 (12:46 +0530)
Author: Masahiko Sawada
Discussion: https://postgr.es/m/E1n0HSK-00048l-RE@gemulon.postgresql.org


diff --git a/src/backend/commands/vacuumparallel.c b/src/backend/commands/vacuumparallel.c
index 5dd70c5273469ef446e2b52e9c912ee9875c47a4..0d61c8ec74aba9febfdd3ba97f63bada5b42a39f 100644 (file)
--- a/src/backend/commands/vacuumparallel.c
+++ b/src/backend/commands/vacuumparallel.c
@@ -137,8 +137,10 @@ typedef struct PVIndStats
IndexBulkDeleteResult istat;
} PVIndStats;
-/* Struct for maintaining a parallel vacuum state. */
-typedef struct ParallelVacuumState
+/*
+ * Struct for maintaining a parallel vacuum state. typedef appears in vacuum.h.
+ */
+struct ParallelVacuumState
{
/* NULL for worker processes */
ParallelContext *pcxt;
@@ -195,7 +197,7 @@ typedef struct ParallelVacuumState
char *relname;
char *indname;
PVIndVacStatus status;
-} ParallelVacuumState;
+};
static int parallel_vacuum_compute_workers(Relation *indrels, int nindexes, int nrequested,
bool *will_parallel_vacuum);
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /