Initialize backend status reporting during bootstrap.
Andres Freund <andres@anarazel.de>
Initialize backend status reporting during bootstrap. This allows a later commit to reduce the number of branches in performance sensitive functions during normal running, compared to a very minor saving during bootstrapping. Author: Melanie Plageman <melanieplageman@gmail.com> Reviewed-By: Andres Freund <andres@anarazel.de> Discussion: https://postgr.es/m/CAAKRu_Yeg+vh6SHNEo1+=O7e-BPX35cU0XQM=YwQRnkFyv_y+w@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/init/postinit.c | modified | +1 −2 |
Discussion
- pg_stat_bgwriter.buffers_backend is pretty meaningless (and more?) 173 messages · 2020-01-24 → 2023-04-25