From c7a3e6b46d38f880f42642df003796b9bf99c1a8 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Mon, 11 Dec 2023 11:49:02 +0100 Subject: Remove trace_recovery_messages This GUC was intended as a debugging help in the 9.0 area when hot standby and streaming replication were being developped, able to offer more information at LOG level rather than DEBUGn. There are more tools available these days that are able to offer rather equivalent information, like pg_waldump introduced in 9.3. It is not obvious how this facility is useful these days, so let's remove it. Author: Bharath Rupireddy Discussion: https://postgr.es/m/ZXEXEAUVFrvpquSd@paquier.xyz --- src/backend/access/transam/xlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/access/transam/xlog.c') diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index daed1a7a493..01e0484584b 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -7213,7 +7213,7 @@ RecoveryRestartPoint(const CheckPoint *checkPoint, XLogReaderState *record) */ if (XLogHaveInvalidPages()) { - elog(trace_recovery(DEBUG2), + elog(DEBUG2, "could not record restart point at %X/%X because there " "are unresolved references to invalid pages", LSN_FORMAT_ARGS(checkPoint->redo)); -- cgit v1.2.3