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

Commit 87e01d1

Browse files
committed
Improve wrapping of long lines in postgresql.conf.
1 parent 6aa0fdc commit 87e01d1

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

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

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@
4949
#listen_addresses = 'localhost' # what IP interface(s) to listen on;
5050
# defaults to localhost, '*' = any
5151
#port = 5432
52-
#max_connections = 100
53-
# note: increasing max_connections costs about 500 bytes of shared
54-
# memory per connection slot, in addition to costs from shared_buffers
55-
# and max_locks_per_transaction.
52+
#max_connections = 100 # note: increasing max_connections costs about 500
53+
# bytes of shared memory per connection slot, in
54+
# addition to costs from shared_buffers and
55+
# max_locks_per_transaction.
5656
#superuser_reserved_connections = 2
5757
#unix_socket_directory = ''
5858
#unix_socket_group = ''
@@ -77,7 +77,7 @@
7777

7878
# - Memory -
7979

80-
#shared_buffers = 1000 # min 16, at least max_connections*2, 8KB each
80+
#shared_buffers = 1000 # min 16, minimum max_connections*2, 8KB each
8181
#temp_buffers = 1000 # min 100, 8KB each
8282
#max_prepared_transactions = 50 # 0-10000
8383
#work_mem = 1024 # min 64, size in KB
@@ -195,16 +195,18 @@
195195
#log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # Log file name pattern.
196196
# Can include strftime() escapes
197197
#log_truncate_on_rotation = off # If on, any existing log file of the same
198-
# name as the new log file will be truncated
199-
# rather than appended to. But such truncation
200-
# only occurs on time-driven rotation,
201-
# not on restarts or size-driven rotation.
202-
# Default is off, meaning append to existing
203-
# files in all cases.
204-
#log_rotation_age = 1440 # Automatic rotation of logfiles will happen after
205-
# so many minutes. 0 to disable.
206-
#log_rotation_size = 10240 # Automatic rotation of logfiles will happen after
207-
# so many kilobytes of log output. 0 to disable.
198+
# name as the new log file will be
199+
# truncated rather than appended to. But
200+
# such truncation only occurs on
201+
# time-driven rotation, not on restarts
202+
# or size-driven rotation. Default is
203+
# off, meaning append to existing files
204+
# in all cases.
205+
#log_rotation_age = 1440 # Automatic rotation of logfiles will happen
206+
# after so many minutes. 0 to disable.
207+
#log_rotation_size = 10240 # Automatic rotation of logfiles will happen
208+
# afterso many kilobytes of log output.
209+
# 0 to disable.
208210

209211
# These are relevant when logging to syslog:
210212
#syslog_facility = 'LOCAL0'

0 commit comments

Comments
 (0)