---------- * pgstat_write_statsfile_needed() - * * Do we need to write out any stats files? * ---------- */
| 6226 | * ---------- |
| 6227 | */ |
| 6228 | static bool |
| 6229 | pgstat_write_statsfile_needed(void) |
| 6230 | { |
| 6231 | if (pending_write_requests != NIL) |
| 6232 | return true; |
| 6233 | |
| 6234 | /* Everything was written recently */ |
| 6235 | return false; |
| 6236 | } |
| 6237 | |
| 6238 | /* ---------- |
| 6239 | * pgstat_db_requested() - |
no outgoing calls
no test coverage detected