Skip to content

Commit 65cc77c

Browse files
committed
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 b06d8e5. Likewise, time GUCs can be specified with "us" (microseconds) as of caf626b. 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
1 parent e5cebe1 commit 65cc77c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
# "postgres -c log_connections=on". Some parameters can be changed at run time
2525
# with the "SET" SQL command.
2626
#
27-
# Memory units: kB = kilobytes Time units: ms = milliseconds
27+
# Memory units: B = bytes Time units: us = microseconds
28+
# kB = kilobytes ms = milliseconds
2829
# MB = megabytes s = seconds
2930
# GB = gigabytes min = minutes
3031
# TB = terabytes h = hours

0 commit comments

Comments
 (0)