|
6 | 6 | #
|
7 | 7 | # name = value
|
8 | 8 | #
|
9 |
| -# (The '=' is optional.) White space may be used. Comments are introduced |
10 |
| -# with '#' anywhere on a line. The complete list of option names and |
11 |
| -# allowed values can be found in the PostgreSQL documentation. The |
| 9 | +# (The '=' is optional.) White space may be used. Comments are introduced |
| 10 | +# with '#' anywhere on a line. The complete list of option names and |
| 11 | +# allowed values can be found in the PostgreSQL documentation. The |
12 | 12 | # commented-out settings shown in this file represent the default values.
|
13 | 13 | #
|
14 | 14 | # Please note that re-commenting a setting is NOT sufficient to revert it
|
15 |
| -# to the default value, unless you restart the postmaster. |
| 15 | +# to the default value, unless you restart the server. |
16 | 16 | #
|
17 |
| -# Any option can also be given as a command line switch to the |
18 |
| -# postmaster, e.g. 'postmaster -c log_connections=on'. Some options |
19 |
| -# can be changed at run-time with the 'SET' SQL command. |
| 17 | +# Any option can also be given as a command line switch to the server, |
| 18 | +# e.g., 'postgres -c log_connections=on'. Some options can be changed at |
| 19 | +# run-time with the 'SET' SQL command. |
20 | 20 | #
|
21 |
| -# This file is read on postmaster startup and when the postmaster |
22 |
| -# receives a SIGHUP. If you edit the file on a running system, you have |
23 |
| -# to SIGHUP the postmaster for the changes to take effect, or use |
24 |
| -# "pg_ctl reload". Some settings, such as listen_addresses, require |
25 |
| -# a postmaster shutdown and restart to take effect. |
| 21 | +# This file is read on server startup and when the server receives a |
| 22 | +# SIGHUP. If you edit the file on a running system, you have to SIGHUP the |
| 23 | +# server for the changes to take effect, or use "pg_ctl reload". Some |
| 24 | +# settings, which are marked below, require a server shutdown and restart |
| 25 | +# to take effect. |
26 | 26 |
|
27 | 27 |
|
28 | 28 | #---------------------------------------------------------------------------
|
|
33 | 33 | # switch or PGDATA environment variable, represented here as ConfigDir.
|
34 | 34 |
|
35 | 35 | #data_directory = 'ConfigDir' # use data in another directory
|
| 36 | + # (change requires restart) |
36 | 37 | #hba_file = 'ConfigDir/pg_hba.conf' # host-based authentication file
|
37 |
| -#ident_file = 'ConfigDir/pg_ident.conf' # IDENT configuration file |
| 38 | + # (change requires restart) |
| 39 | +#ident_file = 'ConfigDir/pg_ident.conf' # ident configuration file |
| 40 | + # (change requires restart) |
38 | 41 |
|
39 |
| -# If external_pid_file is not explicitly set, no extra pid file is written. |
40 |
| -#external_pid_file = '(none)' # write an extra pid file |
| 42 | +# If external_pid_file is not explicitly set, no extra PID file is written. |
| 43 | +#external_pid_file = '(none)' # write an extra PID file |
| 44 | + # (change requires restart) |
41 | 45 |
|
42 | 46 |
|
43 | 47 | #---------------------------------------------------------------------------
|
|
49 | 53 | #listen_addresses = 'localhost' # what IP address(es) to listen on;
|
50 | 54 | # comma-separated list of addresses;
|
51 | 55 | # defaults to 'localhost', '*' = all
|
52 |
| -#port = 5432 |
53 |
| -#max_connections = 100 |
54 |
| -# note: increasing max_connections costs ~400 bytes of shared memory per |
| 56 | + # (change requires restart) |
| 57 | +#port = 5432 # (change requires restart) |
| 58 | +#max_connections = 100 # (change requires restart) |
| 59 | +# Note: increasing max_connections costs ~400 bytes of shared memory per |
55 | 60 | # connection slot, plus lock space (see max_locks_per_transaction). You
|
56 | 61 | # might also need to raise shared_buffers to support more connections.
|
57 |
| -#superuser_reserved_connections = 2 |
58 |
| -#unix_socket_directory = '' |
59 |
| -#unix_socket_group = '' |
| 62 | +#superuser_reserved_connections = 2 # (change requires restart) |
| 63 | +#unix_socket_directory = '' # (change requires restart) |
| 64 | +#unix_socket_group = '' # (change requires restart) |
60 | 65 | #unix_socket_permissions = 0777 # octal
|
| 66 | + # (change requires restart) |
61 | 67 | #bonjour_name = '' # defaults to the computer name
|
| 68 | + # (change requires restart) |
62 | 69 |
|
63 | 70 | # - Security & Authentication -
|
64 | 71 |
|
65 | 72 | #authentication_timeout = 60 # 1-600, in seconds
|
66 |
| -#ssl = off |
| 73 | +#ssl = off # (change requires restart) |
67 | 74 | #password_encryption = on
|
68 | 75 | #db_user_namespace = off
|
69 | 76 |
|
70 | 77 | # Kerberos
|
71 |
| -#krb_server_keyfile = '' |
72 |
| -#krb_srvname = 'postgres' |
| 78 | +#krb_server_keyfile = '' # (change requires restart) |
| 79 | +#krb_srvname = 'postgres' # (change requires restart) |
73 | 80 | #krb_server_hostname = '' # empty string matches any keytab entry
|
74 |
| -#krb_caseins_users = off |
| 81 | + # (change requires restart) |
| 82 | +#krb_caseins_users = off # (change requires restart) |
75 | 83 |
|
76 | 84 | # - TCP Keepalives -
|
77 | 85 | # see 'man 7 tcp' for details
|
|
90 | 98 |
|
91 | 99 | # - Memory -
|
92 | 100 |
|
93 |
| -#shared_buffers = 1000 # min 16 or max_connections*2, 8KB each |
94 |
| -#temp_buffers = 1000 # min 100, 8KB each |
| 101 | +#shared_buffers = 1000 # min 16 or max_connections*2, 8kB each |
| 102 | + # (change requires restart) |
| 103 | +#temp_buffers = 1000 # min 100, 8kB each |
95 | 104 | #max_prepared_transactions = 5 # can be 0 or more
|
96 |
| -# note: increasing max_prepared_transactions costs ~600 bytes of shared memory |
| 105 | + # (change requires restart) |
| 106 | +# Note: increasing max_prepared_transactions costs ~600 bytes of shared memory |
97 | 107 | # per transaction slot, plus lock space (see max_locks_per_transaction).
|
98 |
| -#work_mem = 1024 # min 64, size in KB |
99 |
| -#maintenance_work_mem = 16384 # min 1024, size in KB |
100 |
| -#max_stack_depth = 2048 # min 100, size in KB |
| 108 | +#work_mem = 1024 # min 64, size in kB |
| 109 | +#maintenance_work_mem = 16384 # min 1024, size in kB |
| 110 | +#max_stack_depth = 2048 # min 100, size in kB |
101 | 111 |
|
102 | 112 | # - Free Space Map -
|
103 | 113 |
|
104 | 114 | #max_fsm_pages = 20000 # min max_fsm_relations*16, 6 bytes each
|
| 115 | + # (change requires restart) |
105 | 116 | #max_fsm_relations = 1000 # min 100, ~70 bytes each
|
| 117 | + # (change requires restart) |
106 | 118 |
|
107 | 119 | # - Kernel Resource Usage -
|
108 | 120 |
|
109 | 121 | #max_files_per_process = 1000 # min 25
|
110 |
| -#preload_libraries = '' |
| 122 | + # (change requires restart) |
| 123 | +#preload_libraries = '' # (change requires restart) |
111 | 124 |
|
112 | 125 | # - Cost-Based Vacuum Delay -
|
113 | 126 |
|
|
141 | 154 | # fsync_writethrough
|
142 | 155 | # open_sync
|
143 | 156 | #full_page_writes = on # recover from partial page writes
|
144 |
| -#wal_buffers = 8 # min 4, 8KB each |
| 157 | +#wal_buffers = 8 # min 4, 8kB each |
| 158 | + # (change requires restart) |
145 | 159 | #commit_delay = 0 # range 0-100000, in microseconds
|
146 | 160 | #commit_siblings = 5 # range 1-1000
|
147 | 161 |
|
|
180 | 194 | #cpu_tuple_cost = 0.01 # same scale as above
|
181 | 195 | #cpu_index_tuple_cost = 0.005 # same scale as above
|
182 | 196 | #cpu_operator_cost = 0.0025 # same scale as above
|
183 |
| -#effective_cache_size = 1000 # typically 8KB each |
| 197 | +#effective_cache_size = 1000 # typically 8kB each |
184 | 198 |
|
185 | 199 | # - Genetic Query Optimizer -
|
186 | 200 |
|
|
213 | 227 | # This is used when logging to stderr:
|
214 | 228 | #redirect_stderr = off # Enable capturing of stderr into log
|
215 | 229 | # files
|
| 230 | + # (change requires restart) |
216 | 231 |
|
217 | 232 | # These are only used if redirect_stderr is on:
|
218 | 233 | #log_directory = 'pg_log' # Directory where log files are written
|
|
285 | 300 |
|
286 | 301 | #silent_mode = off # DO NOT USE without syslog or
|
287 | 302 | # redirect_stderr
|
| 303 | + # (change requires restart) |
288 | 304 |
|
289 | 305 | # - What to Log -
|
290 | 306 |
|
|
326 | 342 | #update_process_title = on
|
327 | 343 |
|
328 | 344 | #stats_start_collector = on # needed for block or row stats
|
| 345 | + # (change requires restart) |
329 | 346 | #stats_block_level = off
|
330 | 347 | #stats_row_level = off
|
331 |
| -#stats_reset_on_server_start = off |
| 348 | +#stats_reset_on_server_start = off # (change requires restart) |
332 | 349 |
|
333 | 350 |
|
334 | 351 | # - Statistics Monitoring -
|
|
404 | 421 |
|
405 | 422 | #deadlock_timeout = 1000 # in milliseconds
|
406 | 423 | #max_locks_per_transaction = 64 # min 10
|
407 |
| -# note: each lock table slot uses ~270 bytes of shared memory, and there are |
| 424 | + # (change requires restart) |
| 425 | +# Note: each lock table slot uses ~270 bytes of shared memory, and there are |
408 | 426 | # max_locks_per_transaction * (max_connections + max_prepared_transactions)
|
409 | 427 | # lock table slots.
|
410 | 428 |
|
|
0 commit comments