Report from Andres Freund, but not his fix.
This is fairly basic at the moment, but it's at least useful for testing and debugging, and possibly more. Andres Freund