summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2022-11-08 20:36:36 +1300
committerThomas Munro <tmunro@postgresql.org>2022-11-08 20:36:36 +1300
commit05a7be93558c614ab89c794cb1d301ea9ff33199 (patch)
treed58d0d7b6f602378cb361738f54c65d4b883e56b /src/tools
parentbd95816f74ad4cad3d2a3c160be426358d6cea51 (diff)
Suppress useless wakeups in walreceiver.
Instead of waking up 10 times per second to check for various timeout conditions, keep track of when we next have periodic work to do. Author: Thomas Munro <thomas.munro@gmail.com> Author: Nathan Bossart <nathandbossart@gmail.com> Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Reviewed-by: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com> Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org> Discussion: https://postgr.es/m/CA%2BhUKGJGhX4r2LPUE3Oy9BX71Eum6PBcS8L3sJpScR9oKaTVaA%40mail.gmail.com
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/pgindent/typedefs.list1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list
index 9683b0a88e5..245aea1dd14 100644
--- a/src/tools/pgindent/typedefs.list
+++ b/src/tools/pgindent/typedefs.list
@@ -2927,6 +2927,7 @@ WALInsertLock
WALInsertLockPadded
WALOpenSegment
WALReadError
+WalRcvWakeupReason
WALSegmentCloseCB
WALSegmentContext
WALSegmentOpenCB