postgresql/src/backend
Amit Kapila 8e1fae1938 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
2021-12-23 11:42:52 +05:30
..
access Move parallel vacuum code to vacuumparallel.c. 2021-12-23 11:42:52 +05:30
bootstrap Fix bogus assertion in BootstrapModeMain(). 2021-08-09 08:28:53 -07:00
catalog doc: More documentation on regular expressions and SQL standard 2021-12-20 10:36:44 +01:00
commands Move parallel vacuum code to vacuumparallel.c. 2021-12-23 11:42:52 +05:30
executor Always use ReleaseTupleDesc after lookup_rowtype_tupdesc et al. 2021-12-15 18:58:20 -05:00
foreign Improve HINT message that FDW reports when there are no valid options. 2021-10-27 00:46:52 +09:00
jit Fix some typos with {a,an} 2021-12-09 15:20:36 +09:00
lib Improve sift up/down code in binaryheap.c and logtape.c. 2021-12-14 13:35:22 -05:00
libpq On Windows, also call shutdown() while closing the client socket. 2021-12-07 13:34:06 -05:00
main process startup: Split single user code out of PostgresMain(). 2021-09-17 19:56:47 -07:00
nodes Remove unused include 2021-12-22 15:06:02 +01:00
optimizer Some RELKIND macro refactoring 2021-12-03 14:08:19 +01:00
parser Ensure casting to typmod -1 generates a RelabelType. 2021-12-16 15:36:02 -05:00
partitioning Fix duplicate words in comments 2021-10-04 15:12:57 +02:00
po Translation updates 2021-06-21 12:33:50 +02:00
port Check for STATUS_DELETE_PENDING on Windows. 2021-12-10 16:19:43 +13:00
postmaster Remove InitXLOGAccess(). 2021-12-13 09:58:36 -05:00
regex Make pg_regexec() robust against out-of-range search_start. 2021-09-11 15:19:31 -04:00
replication Fix some typos with {a,an} 2021-12-09 15:20:36 +09:00
rewrite Fix rewriter to set hasModifyingCTE correctly on rewritten queries. 2021-09-08 12:05:47 -04:00
snowball Update snowball 2021-12-07 07:04:05 +01:00
statistics Clean up more code using "(expr) ? true : false" 2021-10-11 09:36:42 +09:00
storage Fix typo in code comment 2021-12-22 07:52:18 +01:00
tcop Replace random(), pg_erand48(), etc with a better PRNG API and algorithm. 2021-11-28 21:33:07 -05:00
tsearch Clean up more code using "(expr) ? true : false" 2021-10-11 09:36:42 +09:00
utils Fix incorrect format placeholders 2021-12-22 08:42:33 +01:00
.gitignore
Makefile Use sort_template.h for qsort_tuple() and qsort_ssup(). 2021-03-03 17:02:32 +13:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
nls.mk Report progress of startup operations that take a long time. 2021-10-25 11:51:57 -04:00