Orphaned wait event
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-03-23T02:12:21Z
Lists: pgsql-hackers
Attachments
- 0001-Remove-orphaned-wait-event.patch (text/x-patch) patch 0001
Hi,
Commit dee663f7 made WAIT_EVENT_SLRU_FLUSH_SYNC redundant, so here's a
patch to remove it.
In case it's useful again, here's how I noticed:
for X in ` grep WAIT_EVENT_ src/include/utils/wait_event.h |
sed '/^#/d;s/,//;s/ = .*//' `
do
if ! ( git grep $X |
grep -v src/include/utils/wait_event.h |
grep -v src/backend/utils/activity/wait_event.c |
grep $X > /dev/null )
then
echo "$X is not used"
fi
done
Commits
-
Re-add tracking of wait event SLRUFlushSync
- aeb6f4b3b0d0 14.8 landed
- 1ed1b84bdcd2 15.3 landed
- 84cc1426745b 16.0 landed
-
Defer flushing of SLRU files.
- dee663f78439 14.0 cited