Added support for parallel vacuum

This commit is contained in:
Andrew Kane
2022-02-06 11:25:38 -08:00
parent f4eaa3de1f
commit ab079c1911
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
## 0.2.4 (unreleased)
- Added support for parallel vacuum
- Fixed issue with index not reusing space
## 0.2.3 (2022-01-30)

View File

@@ -189,7 +189,7 @@ ivfflathandler(PG_FUNCTION_ARGS)
#endif
#if PG_VERSION_NUM >= 130000
amroutine->amusemaintenanceworkmem = false; /* not used during VACUUM */
amroutine->amparallelvacuumoptions = VACUUM_OPTION_NO_PARALLEL; /* TODO support parallel */
amroutine->amparallelvacuumoptions = VACUUM_OPTION_PARALLEL_BULKDEL;
#endif
amroutine->amkeytype = InvalidOid;