Critical severityconfiguration
Power BI Refresh Error:
XX001
What does this error mean?
PostgreSQL detected corruption in its internal data files — this is a critical error requiring immediate attention.
Common causes
- 1Hardware failure (disk errors, bad RAM) corrupting data pages
- 2Improper server shutdown during a write operation
- 3Bug in PostgreSQL or an extension leading to on-disk corruption
- 4Storage-level snapshot/backup restored incorrectly
How to fix it
- 1Step 1: DO NOT restart the server without taking a filesystem snapshot first.
- 2Step 2: Check server logs for the corrupt relation and page number.
- 3Step 3: Run `pg_dump` to extract still-readable data before attempting repair.
- 4Step 4: Restore from the most recent clean backup.
- 5Step 5: Use `zero_damaged_pages = on` as a last resort to skip corrupted pages (causes data loss).
Frequently asked questions
Official documentation: https://www.postgresql.org/docs/current/errcodes-appendix.html