Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 94226d4

Browse files
author
Amit Kapila
committed
Fix compilation error introduced by commit 8e1fae1.
Author: Masahiko Sawada Discussion: https://postgr.es/m/E1n0HSK-00048l-RE@gemulon.postgresql.org
1 parent 8e1fae1 commit 94226d4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/backend/commands/vacuumparallel.c

+5-3
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,10 @@ typedef struct PVIndStats
137137
IndexBulkDeleteResult istat;
138138
} PVIndStats;
139139

140-
/* Struct for maintaining a parallel vacuum state. */
141-
typedef struct ParallelVacuumState
140+
/*
141+
* Struct for maintaining a parallel vacuum state. typedef appears in vacuum.h.
142+
*/
143+
struct ParallelVacuumState
142144
{
143145
/* NULL for worker processes */
144146
ParallelContext *pcxt;
@@ -195,7 +197,7 @@ typedef struct ParallelVacuumState
195197
char *relname;
196198
char *indname;
197199
PVIndVacStatus status;
198-
} ParallelVacuumState;
200+
};
199201

200202
static int parallel_vacuum_compute_workers(Relation *indrels, int nindexes, int nrequested,
201203
bool *will_parallel_vacuum);

0 commit comments

Comments
 (0)