postgresql/src/backend/access
Peter Geoghegan c59278a1aa Fix parallel amvacuumcleanup safety bug.
Commit b4af70cb inverted the return value of the function
parallel_processing_is_safe(), but missed the amvacuumcleanup test.
Index AMs that don't support parallel cleanup at all were affected.

The practical consequences of this bug were not very serious.  Hash
indexes are affected, but since they just return the number of blocks
during hashvacuumcleanup anyway, it can't have had much impact.

Author: Masahiko Sawada <sawada.mshk@gmail.com>
Discussion: https://postgr.es/m/CAD21AoA-Em+aeVPmBbL_s1V-ghsJQSxYL-i3JP8nTfPiD1wjKw@mail.gmail.com
Backpatch: 14-, where commit b4af70cb appears.
2021-11-02 19:52:11 -07:00
..
brin Replace unicode characters in comments with ascii 2021-11-01 22:42:49 +01:00
common Revert analyze support for partitioned tables 2021-08-16 17:27:52 -04:00
gin Clean up some code using "(expr) ? true : false" 2021-09-08 09:44:04 +09:00
gist Clean up more code using "(expr) ? true : false" 2021-10-11 09:36:42 +09:00
hash Clean up some code using "(expr) ? true : false" 2021-09-08 09:44:04 +09:00
heap Fix parallel amvacuumcleanup safety bug. 2021-11-02 19:52:11 -07:00
index Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
nbtree Remove obsolete nbtree LP_DEAD item comments. 2021-10-27 14:35:21 -07:00
rmgrdesc Fix WAL replay in presence of an incomplete record 2021-09-29 11:21:51 -03:00
spgist Count SP-GiST index scans in pg_stat statistics. 2021-08-27 19:53:05 -04:00
table Replace RelationOpenSmgr() with RelationGetSmgr(). 2021-07-12 17:01:36 -04:00
tablesample Update copyright for 2021 2021-01-02 13:06:25 -05:00
transam Move MarkCurrentTransactionIdLoggedIfAny() out of the critical section. 2021-11-02 09:11:05 +05:30
Makefile Introduce access/{table.h, relation.h}, for generic functions from heapam.h. 2019-01-21 10:51:36 -08:00