forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8e1fae1

Amit Kapila
Move parallel vacuum code to vacuumparallel.c.
This commit moves parallel vacuum related code to a new filecommands/vacuumparallel.c so that any table AM supporting indexes canutilize parallel vacuum in order to call index AM callbacks (ambulkdeleteand amvacuumcleanup) with parallel workers.Another reason for this refactoring is that the parallel vacuum isn'tspecific to heap so it doesn't make sense to keep this code inheap/vacuumlazy.c.Author: Masahiko Sawada, based on suggestion from Andres FreundReviewed-by: Hou Zhijie, Amit Kapila, Haiying TangDiscussion:https://www.postgresql.org/message-id/20211030212101.ae3qcouatwmy7tbr%40alap3.anarazel.de1 parente2e1bbd commit8e1fae1
File tree
8 files changed
+1125
-983
lines changed- src
- backend
- access
- heap
- transam
- commands
- include
- access
- commands
- tools/pgindent
8 files changed
+1125
-983
lines changedLarge diffs are not rendered by default.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 | 17 |
| |
19 | 18 |
| |
20 | 19 |
| |
| |||
25 | 24 |
| |
26 | 25 |
| |
27 | 26 |
| |
| 27 | + | |
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
| 62 | + | |
62 | 63 |
| |
63 | 64 |
| |
64 | 65 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
11 |
| - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
|
0 commit comments
Comments
(0)