aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-05-28 15:39:05 +0900
committerMichael Paquier <michael@paquier.xyz>2020-05-28 15:39:05 +0900
commit55ca50deb8ffaec3b81d83c9f54c94f7e519f3a6 (patch)
treefcf0ab9a5846541411eff4dc0a5d41bb82bb2f55
parent0a737be03cf7708e8e27f9596be3406275ec3d49 (diff)
downloadpostgresql-55ca50deb8ffaec3b81d83c9f54c94f7e519f3a6.tar.gz
postgresql-55ca50deb8ffaec3b81d83c9f54c94f7e519f3a6.zip
Fix some mentions to memory units in postgresql.conf.sample
The default unit for max_slot_wal_keep_size is megabytes. While on it, also change temp_file_limit to use a more consistent wording. Reported-by: Jeff Janes, Fujii Masao Author: Kyotaro Horiguchi Discussion: https://postgr.es/m/CAMkU=1wWZhhjpwRFKJ9waQGxxROeC0P6UqPvb90fAaGz7dhoHA@mail.gmail.com
-rw-r--r--src/backend/utils/misc/postgresql.conf.sample4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index 995b6ca1554..81055edde74 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -149,7 +149,7 @@
# - Disk -
#temp_file_limit = -1 # limits per-process temp file space
- # in kB, or -1 for no limit
+ # in kilobytes, or -1 for no limit
# - Kernel Resources -
@@ -289,7 +289,7 @@
#max_wal_senders = 10 # max number of walsender processes
# (change requires restart)
#wal_keep_segments = 0 # in logfile segments; 0 disables
-#max_slot_wal_keep_size = -1 # measured in bytes; -1 disables
+#max_slot_wal_keep_size = -1 # in megabytes; -1 disables
#wal_sender_timeout = 60s # in milliseconds; 0 disables
#max_replication_slots = 10 # max number of replication slots