1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-18 12:22:09 +03:00
Files
postgres/doc/src/sgml/ref
Fujii Masao f5dff45962 Rename wal_keep_segments to wal_keep_size.
max_slot_wal_keep_size that was added in v13 and wal_keep_segments are
the GUC parameters to specify how much WAL files to retain for
the standby servers. While max_slot_wal_keep_size accepts the number of
bytes of WAL files, wal_keep_segments accepts the number of WAL files.
This difference of setting units between those similar parameters could
be confusing to users.

To alleviate this situation, this commit renames wal_keep_segments to
wal_keep_size, and make users specify the WAL size in it instead of
the number of WAL files.

There was also the idea to rename max_slot_wal_keep_size to
max_slot_wal_keep_segments, in the discussion. But we have been moving
away from measuring in segments, for example, checkpoint_segments was
replaced by max_wal_size. So we concluded to rename wal_keep_segments
to wal_keep_size.

Back-patch to v13 where max_slot_wal_keep_size was added.

Author: Fujii Masao
Reviewed-by: Álvaro Herrera, Kyotaro Horiguchi, David Steele
Discussion: https://postgr.es/m/574b4ea3-e0f9-b175-ead2-ebea7faea855@oss.nttdata.com
2020-07-20 13:33:45 +09:00
..
2019-03-24 11:33:02 +01:00
2017-11-30 11:03:20 -05:00
2020-04-20 13:42:12 -04:00
2017-11-30 11:03:20 -05:00
2017-11-30 11:03:20 -05:00
2020-04-20 13:42:12 -04:00
2020-04-08 11:37:27 +03:00
2017-11-30 11:03:20 -05:00
2020-07-05 15:38:14 +02:00
2020-03-13 15:45:37 +01:00
2019-03-24 11:33:02 +01:00
2017-11-23 09:44:28 -05:00
2020-07-05 15:38:14 +02:00
2020-07-05 15:38:14 +02:00
2020-07-05 15:38:14 +02:00
2020-03-07 14:04:09 +01:00
2020-01-10 09:36:55 +09:00
2019-10-16 13:09:52 +09:00
2017-11-23 09:44:28 -05:00
2017-11-23 09:44:28 -05:00
2020-04-08 11:37:27 +03:00