PostgresIntegrityReporter typedef

PostgresIntegrityReporter = void Function(String message)

Reports an inconsistency PostgresDataStorageAdapter.ensureReady found in the metadata tables and worked around.

Wire it to the host's logger. The adapter refuses to fail a whole process over one damaged collection, so this callback is the only place the damage becomes visible.

Implementation

typedef PostgresIntegrityReporter = void Function(String message);