Just to clarify what Adam is proposing in this thread is *not* a fault injection framework.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных