ignore_checksum_failure
英文手册覆盖始于 PostgreSQL 7.4. 来源历史与运行验证各自保留独立版本边界。
当前阅读 PG 18·选择有来源记录的版本
- boot val
- off
- category
- Developer Options
- context
- superuser
- documented
- true
- enumvals
- 未知
- lang
- en
- max val
- 未知
- metadata version
- 18
- min val
- 未知
- name
- ignore_checksum_failure
- short desc
- Continues processing after a checksum failure.
- source
- pg-settings-source-snapshot
- unit
- 未知
- vartype
- bool
版本定义 PG 18
只有启用数据校验和时才有效。
在读取过程中检测到校验和失败通常会导致PostgreSQL报告错误,中止当前事务。将ignore_checksum_failure设置为 on 会使系统忽略失败(但仍报告警告),并继续处理。这种行为可能导致崩溃、传播或隐藏损坏,或引发其他严重问题。但是,如果块首部仍然正常,它可能允许你跳过错误,检索表中可能仍然存在的未损坏元组。如果首部损坏,即使启用此选项也会报告错误。默认设置为off。只有超级用户和具有适当SET权限的用户才能更改此设置。
比较版本
完整来源事实
extra desc
Detection of a checksum failure normally causes PostgreSQL to report an error, aborting the current transaction. Setting ignore_checksum_failure to true causes the system to ignore the failure (but still report a warning), and continue processing. This behavior could cause crashes or other serious problems. Only has an effect if checksums are enabled.
来源引用
定义来源
center · PostgreSQL 18 · english-manuals:5f57a2f81e638bdc58ff5a52005319b99bf678324087bcd11b2fce292b83a233
正文语言: zh-Hans · 2026-09-11@29c86d9