postgresql/src/bin
Fujii Masao c3fe108c02 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:30:18 +09:00
..
initdb Change default of password_encryption to scram-sha-256 2020-06-10 16:42:55 +02:00
pg_archivecleanup Translation updates 2020-05-18 12:49:30 +02:00
pg_basebackup Enable almost all TAP tests involving symlinks on Windows 2020-07-16 15:51:52 -04:00
pg_checksums Translation updates 2020-05-18 12:49:30 +02:00
pg_config Translation updates 2020-05-18 12:49:30 +02:00
pg_controldata Translation updates 2020-05-18 12:49:30 +02:00
pg_ctl Add test coverage for pg_current_logfile() function. 2020-07-08 13:41:52 -04:00
pg_dump Allow logical replication to transfer data in binary format. 2020-07-18 12:44:51 -04:00
pg_resetwal Translation updates 2020-05-18 12:49:30 +02:00
pg_rewind Rename wal_keep_segments to wal_keep_size. 2020-07-20 13:30:18 +09:00
pg_test_fsync Switch pg_test_fsync to use binary mode on Windows 2020-07-16 15:52:37 +09:00
pg_test_timing Translation updates 2020-05-18 12:49:30 +02:00
pg_upgrade pg_upgrade: set vacuum_defer_cleanup_age to zero 2020-06-15 20:59:40 -04:00
pg_verifybackup tap tests: replace 'master' with 'primary'. 2020-07-08 12:39:56 -07:00
pg_waldump Translation updates 2020-05-18 12:49:30 +02:00
pgbench Initial pgindent and pgperltidy run for v13. 2020-05-14 13:06:50 -04:00
pgevent Remove libpq.rc, use win32ver.rc for libpq 2020-01-15 15:06:12 +01:00
psql Allow logical replication to transfer data in binary format. 2020-07-18 12:44:51 -04:00
scripts Add --no-index-cleanup and --no-truncate to vacuumdb. 2020-06-22 13:23:38 +09:00
Makefile Rename pg_validatebackup to pg_verifybackup. 2020-04-12 11:26:05 -04:00