postgresql/src/backend/access
Fujii Masao 00f690a239 Revert "Get rid of the dedicated latch for signaling the startup process".
Revert ac22929a26, as well as the followup fix 113d3591b8. Because it broke
the assumption that the startup process waiting for the recovery conflict
on buffer pin should be waken up only by buffer unpin or the timeout enabled
in ResolveRecoveryConflictWithBufferPin(). It caused, for example,
SIGHUP signal handler or walreceiver process to wake that startup process
up unnecessarily frequently.

Additionally, add the comments about why that dedicated latch that
the reverted patch tried to get rid of should not be removed.

Thanks to Kyotaro Horiguchi for the discussion.

Author: Fujii Masao
Discussion: https://postgr.es/m/d8c0c608-021b-3c73-fffd-3240829ee986@oss.nttdata.com
2020-12-17 18:06:51 +09:00
..
brin Remove unused and deprecated strategy numbers from BRIN code 2020-11-16 17:25:41 +01:00
common Yet more elimination of dead stores and useless initializations. 2020-09-05 13:17:32 -04:00
gin Copy editing: fix a bunch of misspellings and poor wording. 2020-09-21 12:43:42 -04:00
gist Improve hash_create()'s API for some added robustness. 2020-12-15 11:38:53 -05:00
hash Improve hash_create()'s API for some added robustness. 2020-12-15 11:38:53 -05:00
heap Improve hash_create()'s API for some added robustness. 2020-12-15 11:38:53 -05:00
index snapshot scalability: Don't compute global horizons while building snapshots. 2020-08-12 16:03:49 -07:00
nbtree Remove obsolete btrescan() comment. 2020-12-15 15:55:07 -08:00
rmgrdesc Fixup some appendStringInfo and appendPQExpBuffer calls 2020-10-15 20:35:17 +13:00
spgist Rename the "point is strictly above/below point" comparison operators. 2020-11-23 11:38:37 -05:00
table Improve handling of dropped relations for REINDEX DATABASE/SCHEMA/SYSTEM 2020-09-02 09:08:12 +09:00
tablesample Move src/backend/utils/hash/hashfn.c to src/common 2020-02-27 09:25:41 +05:30
transam Revert "Get rid of the dedicated latch for signaling the startup process". 2020-12-17 18:06:51 +09:00
Makefile Introduce access/{table.h, relation.h}, for generic functions from heapam.h. 2019-01-21 10:51:36 -08:00