Use setitimer() for stats file write, rather than do a gettimeofday()
Bruce Momjian <bruce@momjian.us>
Use setitimer() for stats file write, rather than do a gettimeofday() call for every stats packet read to adjust select() timeout. Other stylistic improvements.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/pgstat.c | modified | +39 −76 |