postgresql/src/backend/storage
Fujii Masao 18808f8c89 Add wait events for recovery conflicts.
This commit introduces new wait events RecoveryConflictSnapshot and
RecoveryConflictTablespace. The former is reported while waiting for
recovery conflict resolution on a vacuum cleanup. The latter is reported
while waiting for recovery conflict resolution on dropping tablespace.

Also this commit changes the code so that the wait event Lock is reported
while waiting in ResolveRecoveryConflictWithVirtualXIDs() for recovery
conflict resolution on a lock. Basically the wait event Lock is reported
during that wait, but previously was not reported only when that wait
happened in ResolveRecoveryConflictWithVirtualXIDs().

Author: Masahiko Sawada
Reviewed-by: Fujii Masao
Discussion: https://postgr.es/m/CA+fd4k4mXWTwfQLS3RPwGr4xnfAEs1ysFfgYHvmmoUgv6Zxvmg@mail.gmail.com
2020-04-03 12:15:56 +09:00
..
buffer Report waiting via PS while recovery is waiting for buffer pin in hot standby. 2020-03-30 17:35:03 +09:00
file Remove HAVE_WORKING_LINK 2020-03-11 11:23:04 +01:00
freespace Update copyrights for 2020 2020-01-01 12:21:45 -05:00
ipc Add wait events for recovery conflicts. 2020-04-03 12:15:56 +09:00
large_object Remove utils/acl.h from catalog/objectaddress.h 2020-03-10 10:27:00 +01:00
lmgr Improve handling of parameter differences in physical replication 2020-03-30 09:53:45 +02:00
page Document that pg_checksums exists in checksums README 2020-03-26 15:05:54 +01:00
smgr Revert "Skip WAL for new relfilenodes, under wal_level=minimal." 2020-03-22 09:24:09 -07:00
sync Fix typos. 2020-02-10 09:31:18 +05:30
Makefile Refactor the fsync queue for wider use. 2019-04-04 23:38:38 +13:00