pgsql: Introduce a WaitEventSet for the stats collector. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Introduce a WaitEventSet for the stats collector.
Date
Msg-id E1k11OW-0000YF-Lw@gemulon.postgresql.org
Whole thread Raw
List 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.ntt@gmail.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(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: pgsql: Backpatch tuplesort.c assertion.
Next
From: Michael Paquier
Date:
Subject: pgsql: doc: Mention index references in pg_inherits