]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Document "B" as an accepted unit in postgres.conf.sample
authorJohn Naylor <john.naylor@postgresql.org>
Wed, 21 Jul 2021 14:28:34 +0000 (10:28 -0400)
committerJohn Naylor <john.naylor@postgresql.org>
Wed, 21 Jul 2021 14:28:34 +0000 (10:28 -0400)
In postgresql.conf, memory and file size GUCs can be specified with "B"
(bytes) as of b06d8e58b.

Pavel Luzanov

This is a backpatch to v11 of a portion of bb95feabb.

Discussion: https://www.postgresql.org/message-id/flat/f10d16fc-8fa0-1b3c-7371-cb3a35a13b7a%40postgrespro.ru

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

index 07f69226cbee37e5dbfb4179f7c1fcf721a1868d..46ad6d6271cfec8ae4aa18d3641abb7fd107f96c 100644 (file)
 # "postgres -c log_connections=on".  Some parameters can be changed at run time
 # with the "SET" SQL command.
 #
-# Memory units:  kB = kilobytes        Time units:  ms  = milliseconds
-#                MB = megabytes                     s   = seconds
-#                GB = gigabytes                     min = minutes
-#                TB = terabytes                     h   = hours
-#                                                   d   = days
+# Memory units:   B  = bytes           Time units:  ms  = milliseconds
+#                kB = kilobytes                     s   = seconds
+#                MB = megabytes                     min = minutes
+#                GB = gigabytes                     h   = hours
+#                TB = terabytes                     d   = days
 
 
 #------------------------------------------------------------------------------