Tom Lane <tgl@sss.pgh.pa.us> writes:
> I think the combination of #ifdef and GUC variable is appropriate.
The attached patch implements this: the wal_debug GUC var is now a
boolean, and is encloded in `#ifdef WAL_DEBUG` blocks (and the
WAL_DEBUG symbol is present in pg_config_manual.h, just commented
out).
Unless anyone objects, I intend to apply this in 24 hours or so.
-Neil