diff options
Diffstat (limited to 'src/bin/scripts')
-rw-r--r-- | src/bin/scripts/reindexdb.c | 1 | ||||
-rw-r--r-- | src/bin/scripts/vacuumdb.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/scripts/reindexdb.c b/src/bin/scripts/reindexdb.c index 7781fb1151a..9f072ac49ae 100644 --- a/src/bin/scripts/reindexdb.c +++ b/src/bin/scripts/reindexdb.c @@ -466,6 +466,7 @@ reindex_one_database(const ConnParams *cparams, ReindexType type, goto finish; } + ParallelSlotSetHandler(free_slot, TableCommandResultHandler, NULL); run_reindex_command(free_slot->connection, process_type, objname, echo, verbose, concurrently, true); diff --git a/src/bin/scripts/vacuumdb.c b/src/bin/scripts/vacuumdb.c index ed320817bc4..9dc8aca29f3 100644 --- a/src/bin/scripts/vacuumdb.c +++ b/src/bin/scripts/vacuumdb.c @@ -713,6 +713,7 @@ vacuum_one_database(const ConnParams *cparams, * Execute the vacuum. All errors are handled in processQueryResult * through ParallelSlotsGetIdle. */ + ParallelSlotSetHandler(free_slot, TableCommandResultHandler, NULL); run_vacuum_command(free_slot->connection, sql.data, echo, tabname); |