You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
max_slot_wal_keep_size that was added in v13 and wal_keep_segments arethe GUC parameters to specify how much WAL files to retain forthe standby servers. While max_slot_wal_keep_size accepts the number ofbytes of WAL files, wal_keep_segments accepts the number of WAL files.This difference of setting units between those similar parameters couldbe confusing to users.To alleviate this situation, this commit renames wal_keep_segments towal_keep_size, and make users specify the WAL size in it instead ofthe number of WAL files.There was also the idea to rename max_slot_wal_keep_size tomax_slot_wal_keep_segments, in the discussion. But we have been movingaway from measuring in segments, for example, checkpoint_segments wasreplaced by max_wal_size. So we concluded to rename wal_keep_segmentsto wal_keep_size.Back-patch to v13 where max_slot_wal_keep_size was added.Author: Fujii MasaoReviewed-by: Álvaro Herrera, Kyotaro Horiguchi, David SteeleDiscussion:https://postgr.es/m/574b4ea3-e0f9-b175-ead2-ebea7faea855@oss.nttdata.com