Closed cpaelzer closed 4 years ago
@cpaelzer thanks for the contribution. I had been working on this as well, but encountered something else unexpected in the mean time, namely, inconsistent behavior with test cases for the background worker when I start it with invalid configurations. I still need to polish this before a new release and at that time, re-verify that this test works. I will keep this up to date.
The FATAL keyword isn't allowed in client_min_messages since postgresql v9. 10 and later have that only on log_min_messages, but no more on client_min_messages 101112.
From the failing test:
Due to that the test fails to hide even simple messages and we get later on these extra test fails:
By changing FATAL to the still allowed ERROR level this works again. The level ERROR should be even fine for PG-9 in case one uses the old versions still.
The test fail can be seen in Ubuntu and Debian