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

Lines changed: 5 additions & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy