mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
Fix compilation error introduced by commit 8e1fae1938
.
Author: Masahiko Sawada Discussion: https://postgr.es/m/E1n0HSK-00048l-RE@gemulon.postgresql.org
This commit is contained in:
@ -137,8 +137,10 @@ typedef struct PVIndStats
|
|||||||
IndexBulkDeleteResult istat;
|
IndexBulkDeleteResult istat;
|
||||||
} PVIndStats;
|
} 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 */
|
/* NULL for worker processes */
|
||||||
ParallelContext *pcxt;
|
ParallelContext *pcxt;
|
||||||
@ -195,7 +197,7 @@ typedef struct ParallelVacuumState
|
|||||||
char *relname;
|
char *relname;
|
||||||
char *indname;
|
char *indname;
|
||||||
PVIndVacStatus status;
|
PVIndVacStatus status;
|
||||||
} ParallelVacuumState;
|
};
|
||||||
|
|
||||||
static int parallel_vacuum_compute_workers(Relation *indrels, int nindexes, int nrequested,
|
static int parallel_vacuum_compute_workers(Relation *indrels, int nindexes, int nrequested,
|
||||||
bool *will_parallel_vacuum);
|
bool *will_parallel_vacuum);
|
||||||
|
Reference in New Issue
Block a user