diff options
| author | Amit Kapila | 2021-12-23 06:12:52 +0000 |
|---|---|---|
| committer | Amit Kapila | 2021-12-23 06:12:52 +0000 |
| commit | 8e1fae193864527c931a704bd7908e4fbc983f5c (patch) | |
| tree | 50f33193006724e680e7cd87f440f86050dded43 /src/tools | |
| parent | e2e1bbde46a3509c3b7e830196f4314242925247 (diff) | |
Move parallel vacuum code to vacuumparallel.c.
This commit moves parallel vacuum related code to a new file
commands/vacuumparallel.c so that any table AM supporting indexes can
utilize parallel vacuum in order to call index AM callbacks (ambulkdelete
and amvacuumcleanup) with parallel workers.
Another reason for this refactoring is that the parallel vacuum isn't
specific to heap so it doesn't make sense to keep this code in
heap/vacuumlazy.c.
Author: Masahiko Sawada, based on suggestion from Andres Freund
Reviewed-by: Hou Zhijie, Amit Kapila, Haiying Tang
Discussion: https://www.postgresql.org/message-id/20211030212101.ae3qcouatwmy7tbr%40alap3.anarazel.de
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/pgindent/typedefs.list | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list index 98635087912..f0936054726 100644 --- a/src/tools/pgindent/typedefs.list +++ b/src/tools/pgindent/typedefs.list @@ -1306,13 +1306,8 @@ LPWSTR LSEG LUID LVPagePruneState -LVParallelIndStats -LVParallelIndVacStatus -LVParallelState LVRelState LVSavedErrInfo -LVShared -LVSharedIndStats LWLock LWLockHandle LWLockMode @@ -1775,7 +1770,10 @@ PTIterationArray PTOKEN_PRIVILEGES PTOKEN_USER PUTENVPROC +PVIndStats +PvIndVacStatus PVOID +PVShared PX_Alias PX_Cipher PX_Combo @@ -1809,6 +1807,7 @@ ParallelSlotResultHandler ParallelState ParallelTableScanDesc ParallelTableScanDescData +ParallelVacuumState ParallelWorkerContext ParallelWorkerInfo Param |
