pgsql: Introduce a WaitEventSet for the stats collector.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Introduce a WaitEventSet for the stats collector.
Date: 2020-07-30 05:46:20
Message-ID: E1k11OW-0000YF-Lw@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Introduce a WaitEventSet for the stats collector.

This avoids avoids some epoll/kqueue system calls for every wait.

Reviewed-by: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Discussion: https://postgr.es/m/CA%2BhUKGJAC4Oqao%3DqforhNey20J8CiG2R%3DoBPqvfR0vOJrFysGw%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e7591fd3cae6c64236ef29d3c87e69b96608a19b

Modified Files
--------------
src/backend/postmaster/pgstat.c | 24 ++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-07-30 06:51:22 pgsql: doc: Mention index references in pg_inherits
Previous Message Peter Geoghegan 2020-07-29 23:01:20 pgsql: Backpatch tuplesort.c assertion.