remove_old_wal_debug_v1.patch

application/octet-stream

Filename: remove_old_wal_debug_v1.patch
Type: application/octet-stream
Part: 0
Message: Debug message in RemoveOldXlogFiles

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: context
Series: patch v1
File+
src/backend/access/transam/xlog.c 2 0
*** a/src/backend/access/transam/xlog.c
--- b/src/backend/access/transam/xlog.c
***************
*** 3253,3259 **** RemoveOldXlogFiles(uint32 log, uint32 seg, XLogRecPtr endptr)
  #endif
  	struct stat statbuf;
  
! 	elog(DEBUG2, "removing WAL segments older than %X/%X", log, seg);
  
  	/*
  	 * Initialize info about where to try to recycle to.  We allow recycling
--- 3253,3260 ----
  #endif
  	struct stat statbuf;
  
! 	elog(DEBUG2, "removing WAL segments older than log file %u, segment %u",
! 		 log, seg);
  
  	/*
  	 * Initialize info about where to try to recycle to.  We allow recycling