From: | Thomas Munro <tmunro(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Suppress useless wakeups in walreceiver. |
Date: | 2022-11-08 07:45:19 |
Message-ID: | E1osJIM-0008Yg-4n@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(dot)munro(at)gmail(dot)com>
Author: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Reviewed-by: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Reviewed-by: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
Reviewed-by: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Discussion: https://postgr.es/m/CA%2BhUKGJGhX4r2LPUE3Oy9BX71Eum6PBcS8L3sJpScR9oKaTVaA%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/05a7be93558c614ab89c794cb1d301ea9ff33199
Modified Files
--------------
src/backend/replication/walreceiver.c | 171 ++++++++++++++++++++++------------
src/tools/pgindent/typedefs.list | 1 +
2 files changed, 115 insertions(+), 57 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-11-08 15:36:21 | pgsql: Produce more-optimal plans for bitmap scans on boolean columns. |
Previous Message | Michael Paquier | 2022-11-08 05:21:35 | pgsql: psql: Add information in \d+ about foreign partitions and child |