aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Naylor <john.naylor@postgresql.org>2021-07-21 10:17:07 -0400
committerJohn Naylor <john.naylor@postgresql.org>2021-07-21 10:18:04 -0400
commit65cc77c9847022f895a12012085606d8553c5fff (patch)
tree3dfd71d8b24d4db8b4e349a4ecec99e65969d42a /src
parente5cebe1ae8895fd9793344e70f58714e0a1742a4 (diff)
downloadpostgresql-65cc77c9847022f895a12012085606d8553c5fff.tar.gz
postgresql-65cc77c9847022f895a12012085606d8553c5fff.zip
Document "B" and "us" as accepted units in postgres.conf.sample
In postgresql.conf, memory and file size GUCs can be specified with "B" (bytes) as of b06d8e58b. Likewise, time GUCs can be specified with "us" (microseconds) as of caf626b2c. Update postgres.conf.sample to reflect that fact. Pavel Luzanov Backpatch to v12, which is the earliest version that allows both of these units. A separate commit will document the "B" case for v11. Discussion: https://www.postgresql.org/message-id/flat/f10d16fc-8fa0-1b3c-7371-cb3a35a13b7a%40postgrespro.ru
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/misc/postgresql.conf.sample3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index df99c499294..4557ba7ba85 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -24,7 +24,8 @@
# "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
+# Memory units: B = bytes Time units: us = microseconds
+# kB = kilobytes ms = milliseconds
# MB = megabytes s = seconds
# GB = gigabytes min = minutes
# TB = terabytes h = hours