Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 55ca50d

Browse files
committed
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
1 parent 0a737be commit 55ca50d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
# - Disk -
150150

151151
#temp_file_limit = -1 # limits per-process temp file space
152-
# in kB, or -1 for no limit
152+
# in kilobytes, or -1 for no limit
153153

154154
# - Kernel Resources -
155155

@@ -289,7 +289,7 @@
289289
#max_wal_senders = 10 # max number of walsender processes
290290
# (change requires restart)
291291
#wal_keep_segments = 0 # in logfile segments; 0 disables
292-
#max_slot_wal_keep_size = -1 # measured in bytes; -1 disables
292+
#max_slot_wal_keep_size = -1 # in megabytes; -1 disables
293293
#wal_sender_timeout = 60s # in milliseconds; 0 disables
294294

295295
#max_replication_slots = 10 # max number of replication slots

0 commit comments

Comments
 (0)