Fix some mentions to memory units in postgresql.conf.sample
authorMichael Paquier <michael@paquier.xyz>
Thu, 28 May 2020 06:39:05 +0000 (15:39 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 28 May 2020 06:39:05 +0000 (15:39 +0900)
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

src/backend/utils/misc/postgresql.conf.sample

index 995b6ca1554190bd02646480285af41d1d29b393..81055edde74e7d60968b88a8fb67d40291d3c71a 100644 (file)
 # - 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 -
 
 #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