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

Commit 9ede612

Browse files
committed
Add units to postgresql.conf file.
1 parent c6b67ca commit 9ede612

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

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

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
#unix_socket_directory = ''
4040
#unix_socket_group = ''
41-
#unix_socket_permissions = 0777
41+
#unix_socket_permissions = 0777 # octal
4242

4343
#virtual_host = ''
4444

@@ -48,28 +48,28 @@
4848
#
4949
# Shared Memory Size
5050
#
51-
#shared_buffers = 64 # 2*max_connections, min 16
51+
#shared_buffers = 64 # 2*max_connections, min 16, 8K each
5252
#max_fsm_relations = 100 # min 10, fsm is free space map
5353
#max_fsm_pages = 10000 # min 1000, fsm is free space map
5454
#max_locks_per_transaction = 64 # min 10
55-
#wal_buffers = 8 # min 4
55+
#wal_buffers = 8 # min 4, 8K each
5656

5757
#
5858
# Non-shared Memory Sizes
5959
#
60-
#sort_mem = 1024 # min 64
61-
#vacuum_mem = 8192 # min 1024
60+
#sort_mem = 1024 # min 64, size in KB
61+
#vacuum_mem = 8192 # min 1024, size in KB
6262

6363

6464
#
6565
# Write-ahead log (WAL)
6666
#
67-
#checkpoint_segments = 3 # in logfile segments (16MB each), min 1
68-
#checkpoint_timeout = 300 # in seconds, range 30-3600
67+
#checkpoint_segments = 3 # in logfile segments, min 1, 16MB each
68+
#checkpoint_timeout = 300 # range 30-3600, in seconds
6969
#
7070
#wal_files = 0 # range 0-64
7171
#
72-
#commit_delay = 0 # range 0-100000
72+
#commit_delay = 0 # range 0-100000, in microseconds
7373
#commit_siblings = 5 # range 1-1000
7474
#
7575
#fsync = true
@@ -89,7 +89,7 @@
8989
#enable_mergejoin = true
9090
#enable_hashjoin = true
9191

92-
#effective_cache_size = 1000 # default in 8k pages
92+
#effective_cache_size = 1000 # 8K each
9393
#random_page_cost = 4
9494
#cpu_tuple_cost = 0.01
9595
#cpu_index_tuple_cost = 0.001
@@ -191,13 +191,14 @@
191191
#timezone = unknown # actually, defaults to TZ environment setting
192192
#australian_timezones = false
193193
#client_encoding = sql_ascii # actually, defaults to database encoding
194-
#authentication_timeout = 60 # min 1, max 600
195-
#deadlock_timeout = 1000
194+
#authentication_timeout = 60 # 1-600, in seconds
195+
#deadlock_timeout = 1000 # in milliseconds
196196
#default_transaction_isolation = 'read committed'
197197
#max_expr_depth = 10000 # min 10
198198
#max_files_per_process = 1000 # min 25
199199
#password_encryption = true
200200
#sql_inheritance = true
201201
#transform_null_equals = false
202-
#statement_timeout = 0 # 0 is disabled
202+
#statement_timeout = 0 # 0 is disabled, in milliseconds
203203
#db_user_namespace = false
204+

0 commit comments

Comments
 (0)