Enable faultinject point 'fault_in_background_writer_main' in builds without assertion.
I'm trying to investigate some flaky test failure of
regress/fsync/bgwriter_checkpoint.sql and haven't made any progress so
far. However, I found that the fault injection point
'fault_in_background_writer_main' wasn't enabled in builds without
assertion. So, this patch helps fix it.
@@ -243,9 +243,7 @@ BackgroundWriterMain(void)
bool can_hibernate;
int rc;
-#ifdef USE_ASSERT_CHECKING
SIMPLE_FAULT_INJECTOR("fault_in_background_writer_main");
-#endif
/* Clear any already-pending wakeups */
ResetLatch(MyLatch);
