Add more debugging information when failing to read pgstats files
Michael Paquier <michael@paquier.xyz>
Add more debugging information when failing to read pgstats files This is useful to know which part of a stats file is corrupted when reading it, adding to the server logs a WARNING with details about what could not be read before giving up with the remaining data in the file. Author: Michael Paquier Reviewed-by: Bertrand Drouvot Discussion: https://postgr.es/m/Zp8o6_cl0KSgsnvS@paquier.xyz
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/activity/pgstat.c | modified | +62 −4 |
Discussion
- Flush pgstats file during checkpoints 21 messages · 2024-06-18 → 2024-09-03