|
49 | 49 | #listen_addresses = 'localhost'# what IP interface(s) to listen on;
|
50 | 50 | # defaults to localhost, '*' = any
|
51 | 51 | #port = 5432
|
52 |
| -#max_connections = 100 |
53 |
| -# note: increasing max_connections costs about 500 bytes of shared |
54 |
| -# memory per connection slot, inaddition 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. |
56 | 56 | #superuser_reserved_connections = 2
|
57 | 57 | #unix_socket_directory = ''
|
58 | 58 | #unix_socket_group = ''
|
|
77 | 77 |
|
78 | 78 | # - Memory -
|
79 | 79 |
|
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 |
81 | 81 | #temp_buffers = 1000# min 100, 8KB each
|
82 | 82 | #max_prepared_transactions = 50 # 0-10000
|
83 | 83 | #work_mem = 1024# min 64, size in KB
|
|
195 | 195 | #log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # Log file name pattern.
|
196 | 196 | # Can include strftime() escapes
|
197 | 197 | #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. |
208 | 210 |
|
209 | 211 | # These are relevant when logging to syslog:
|
210 | 212 | #syslog_facility = 'LOCAL0'
|
|