A010 Data checksums are not enabled + wal_log_hints - collect data
Goal
See if data checksums are enabled in the cluster, and if not, is wal_log_hints turned on or not.
How to implement
Just show the values data_checksums and wal_log_hints, using current_setting(..) function, only for the master.
Acceptance criteria
As a DBA, I can conclude, whether or not data checksums are turned on for the cluster. Additionally, if data checksums are NOT enabled, I can see – based on the wal_log_hints value – is it possible to use pg_rewind on this cluster or not (wal_log_hints must be turned on to allows using it).
Edited by postgres-ai