Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit44f665b

Browse files
committed
Add cleaner formatting to config file.
1 parent45d8f61 commit44f665b

File tree

1 file changed

+50
-38
lines changed

1 file changed

+50
-38
lines changed

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

Lines changed: 50 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#
1+
# -----------------------------
22
# PostgreSQL configuration file
33
# -----------------------------
44
#
@@ -21,16 +21,11 @@
2121
# "pg_ctl reload".
2222

2323

24-
#========================================================================
25-
26-
27-
#
28-
#Connection Parameters
29-
#
30-
24+
#---------------------------------------------------------------------------
3125
# CONNECTIONS AND AUTHENTICATION
32-
# ----------------------------------
33-
# Connection Settings
26+
#---------------------------------------------------------------------------
27+
28+
# - Connection Settings -
3429

3530
#tcpip_socket = false
3631
#max_connections = 32
@@ -44,7 +39,7 @@
4439
#unix_socket_permissions = 0777# octal
4540
#virtual_host = ''
4641

47-
# Security & Authentication
42+
#-Security & Authentication -
4843

4944
#authentication_timeout = 60# 1-600, in seconds
5045
#ssl = false
@@ -53,35 +48,39 @@
5348
#db_user_namespace = false
5449

5550

51+
#---------------------------------------------------------------------------
5652
# RESOURCE USAGE (except WAL)
57-
# ---------------------------------
58-
# Memory
53+
#---------------------------------------------------------------------------
54+
55+
# - Memory -
5956

6057
#shared_buffers = 64# min 16, at least max_connections*2, 8KB each
6158
#sort_mem = 1024# min 64, size in KB
6259
#vacuum_mem = 8192# min 1024, size in KB
6360

64-
# Free Space Map
61+
#-Free Space Map -
6562

6663
#max_fsm_pages = 20000# min max_fsm_relations*16, 6 bytes each
6764
#max_fsm_relations = 1000# min 100, ~50 bytes each
6865

69-
# Kernel Resource Usage
66+
#-Kernel Resource Usage -
7067

7168
#max_files_per_process = 1000# min 25
7269
#preload_libraries = ''
7370

7471

72+
#---------------------------------------------------------------------------
7573
# WRITE AHEAD LOG
76-
# ---------------------------------
77-
# Settings
74+
#---------------------------------------------------------------------------
75+
76+
# - Settings -
7877

7978
#fsync = true# turns forced synchronization on or off
8079
#wal_sync_method = fsync# the default varies across platforms:
8180
# fsync, fdatasync, open_sync, or open_datasync
8281
#wal_buffers = 8# min 4, 8KB each
8382

84-
# Checkpoints
83+
#-Checkpoints -
8584

8685
#checkpoint_segments = 3# in logfile segments, min 1, 16MB each
8786
#checkpoint_timeout = 300# range 30-3600, in seconds
@@ -90,9 +89,11 @@
9089
#commit_siblings = 5# range 1-1000
9190

9291

92+
#---------------------------------------------------------------------------
9393
# QUERY TUNING
94-
# --------------------------------
95-
# Planner Method Enabling
94+
#---------------------------------------------------------------------------
95+
96+
# - Planner Method Enabling -
9697

9798
#enable_hashagg = true
9899
#enable_hashjoin = true
@@ -103,15 +104,15 @@
103104
#enable_sort = true
104105
#enable_tidscan = true
105106

106-
# Planner Cost Constants
107+
#-Planner Cost Constants -
107108

108109
#effective_cache_size = 1000# typically 8KB each
109110
#random_page_cost = 4# units are one sequential page fetch cost
110111
#cpu_tuple_cost = 0.01# (same)
111112
#cpu_index_tuple_cost = 0.001# (same)
112113
#cpu_operator_cost = 0.0025# (same)
113114

114-
# Genetic Query Optimizer
115+
#-Genetic Query Optimizer -
115116

116117
#geqo = true
117118
#geqo_threshold = 11
@@ -122,22 +123,24 @@
122123
#geqo_random_seed = -1# -1 = use variable seed
123124
#geqo_selection_bias = 2.0# range 1.5-2.0
124125

125-
# Other Planner Options
126+
#-Other Planner Options -
126127

127128
#default_statistics_target = 10# range 1-1000
128129
#from_collapse_limit = 8
129130
#join_collapse_limit = 8# 1 disables collapsing of explicit JOINs
130131

131132

133+
#---------------------------------------------------------------------------
132134
# ERROR REPORTING AND LOGGING
133-
# ------------------------------------
134-
# Syslog
135+
#---------------------------------------------------------------------------
136+
137+
# - Syslog -
135138

136139
#syslog = 0# range 0-2
137140
#syslog_facility = 'LOCAL0'
138141
#syslog_ident = 'postgres'
139142

140-
# When to Log
143+
#-When to Log -
141144

142145
#client_min_messages = notice# Values, in order of decreasing detail:
143146
# debug5, debug4, debug3, debug2, debug1,
@@ -160,7 +163,7 @@
160163

161164
#silent_mode = false # DO NOT USE without Syslog!
162165

163-
# What to Log
166+
#-What to Log -
164167

165168
#debug_print_parse = false
166169
#debug_print_rewritten = false
@@ -174,16 +177,19 @@
174177
#log_hostname = false
175178
#log_source_port = false
176179

180+
181+
#---------------------------------------------------------------------------
177182
# RUNTIME STATISTICS
178-
# -------------------------------------
179-
# Statistics Monitoring
183+
#---------------------------------------------------------------------------
184+
185+
# - Statistics Monitoring -
180186

181187
#log_parser_stats = false
182188
#log_planner_stats = false
183189
#log_executor_stats = false
184190
#log_statement_stats = false
185191

186-
# Query/Index Statistics Collector
192+
#-Query/Index Statistics Collector -
187193

188194
#stats_start_collector = true
189195
#stats_command_string = false
@@ -192,16 +198,18 @@
192198
#stats_reset_on_server_start = true
193199

194200

201+
#---------------------------------------------------------------------------
195202
# CLIENT CONNECTION DEFAULTS
196-
# -------------------------------------
197-
# Statement Behavior
203+
#---------------------------------------------------------------------------
204+
205+
# - Statement Behavior -
198206

199207
#search_path = '$user,public'# schema names
200208
#default_transaction_isolation = 'read committed'
201209
#default_transaction_read_only = false
202210
#statement_timeout = 0# 0 is disabled, in milliseconds
203211

204-
# Locale and Formatting
212+
#-Locale and Formatting -
205213

206214
#datestyle = 'iso, us'
207215
#timezone = unknown# actually, defaults to TZ environment setting
@@ -215,27 +223,31 @@
215223
#lc_numeric = 'C'# locale for number formatting
216224
#lc_time = 'C'# locale for time formatting
217225

218-
# Other Defaults
226+
#-Other Defaults -
219227

220228
#explain_pretty_print = true
221229
#dynamic_library_path = '$libdir'
222230
#max_expr_depth = 10000# min 10
223231

232+
233+
#---------------------------------------------------------------------------
224234
# LOCK MANAGEMENT
225-
#-----------------------------------------
235+
#---------------------------------------------------------------------------
226236

227237
#deadlock_timeout = 1000# in milliseconds
228238
#max_locks_per_transaction = 64# min 10, ~260*max_connections bytes each
229239

230240

241+
#---------------------------------------------------------------------------
231242
# VERSION/PLATFORM COMPATIBILITY
232-
# -----------------------------------------
233-
# Previous Postgres Versions
243+
#---------------------------------------------------------------------------
244+
245+
# - Previous Postgres Versions -
234246

235247
#add_missing_from = true
236248
#regex_flavor = advanced# advanced, extended, or basic
237249
#sql_inheritance = true
238250

239-
# Other Platforms & Clients
251+
#-Other Platforms & Clients -
240252

241253
#transform_null_equals = false

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp