postgresql/src/include/access
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
..
amapi.h Implement operator class parameters 2020-03-30 19:17:23 +03:00
amvalidate.h Implement operator class parameters 2020-03-30 19:17:23 +03:00
attmap.h Fix assorted typos 2020-03-31 16:00:06 +02:00
attnum.h
brin_internal.h Implement operator class parameters 2020-03-30 19:17:23 +03:00
brin_page.h
brin_pageops.h
brin_revmap.h
brin_tuple.h
brin_xlog.h
brin.h
bufmask.h
clog.h
commit_ts.h
detoast.h
genam.h Implement operator class parameters 2020-03-30 19:17:23 +03:00
generic_xlog.h
gin_private.h
gin.h Implement operator class parameters 2020-03-30 19:17:23 +03:00
ginblock.h
ginxlog.h
gist_private.h Skip WAL for new relfilenodes, under wal_level=minimal. 2020-04-04 12:25:34 -07:00
gist.h Implement operator class parameters 2020-03-30 19:17:23 +03:00
gistscan.h
gistxlog.h Skip WAL for new relfilenodes, under wal_level=minimal. 2020-04-04 12:25:34 -07:00
hash_xlog.h
hash.h Get rid of trailing semicolons in C macro definitions. 2020-05-01 17:28:00 -04:00
heapam_xlog.h
heapam.h Skip WAL for new relfilenodes, under wal_level=minimal. 2020-04-04 12:25:34 -07:00
heaptoast.h
hio.h
htup_details.h
htup.h
itup.h
multixact.h Rename SLRU structures and associated LWLocks. 2020-05-15 14:28:25 -04:00
nbtree.h Fix deduplication "single value" strategy bug. 2020-06-19 08:57:24 -07:00
nbtxlog.h Adjust "root of to-be-deleted subtree" function. 2020-05-11 11:01:07 -07:00
parallel.h
printsimple.h
printtup.h
relation.h
reloptions.h Implement operator class parameters 2020-03-30 19:17:23 +03:00
relscan.h
rewriteheap.h Skip WAL for new relfilenodes, under wal_level=minimal. 2020-04-04 12:25:34 -07:00
rmgr.h
rmgrlist.h
sdir.h
session.h
skey.h
slru.h Improve management of SLRU statistics collection. 2020-05-13 13:08:23 -04:00
spgist_private.h
spgist.h Implement operator class parameters 2020-03-30 19:17:23 +03:00
spgxlog.h
stratnum.h
subtrans.h
sysattr.h
table.h
tableam.h Fix comments related to table AMs 2020-07-14 13:17:11 +09:00
timeline.h
toast_helper.h Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
toast_internals.h
transam.h Rename SLRU structures and associated LWLocks. 2020-05-15 14:28:25 -04:00
tsmapi.h
tupconvert.h
tupdesc_details.h
tupdesc.h
tupmacs.h Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
twophase_rmgr.h
twophase.h
valid.h
visibilitymap.h Initial pgindent and pgperltidy run for v13. 2020-05-14 13:06:50 -04:00
xact.h Immediately WAL-log subtransaction and top-level XID association. 2020-07-20 08:48:26 +05:30
xlog_internal.h Immediately WAL-log subtransaction and top-level XID association. 2020-07-20 08:48:26 +05:30
xlog.h Rename wal_keep_segments to wal_keep_size. 2020-07-20 13:30:18 +09:00
xlogarchive.h Move routine definitions of xlogarchive.c to a new header file 2020-03-31 15:33:04 +09:00
xlogdefs.h
xloginsert.h
xlogreader.h Immediately WAL-log subtransaction and top-level XID association. 2020-07-20 08:48:26 +05:30
xlogrecord.h Immediately WAL-log subtransaction and top-level XID association. 2020-07-20 08:48:26 +05:30
xlogutils.h Adjust walsender usage of xlogreader, simplify APIs 2020-05-13 12:17:08 -04:00