Skip to content

Commit 79f2d63

Browse files
committed
Update postgresql.conf.sample to match pg_settings classificaitons.
A handful of settings, most notably shared_preload_libraries, were just plain the wrong place compared to their assigned config_group value in guc.c (and thus pg_settings). In other cases the names of the sections in postgresql.conf.sample were mildly different from the corresponding entries in config_group_names[]. Make it all consistent. Adrián Escoms, reviewed by me. Discussion: http://postgr.es/m/CACksPC2veEmFRYqwYepWYO9U7aFhAx6sYq+WqjTyHw7uV=E=pw@mail.gmail.com
1 parent e89a71f commit 79f2d63

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

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

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,10 @@
137137
#temp_file_limit = -1 # limits per-process temp file space
138138
# in kB, or -1 for no limit
139139

140-
# - Kernel Resource Usage -
140+
# - Kernel Resource -
141141

142142
#max_files_per_process = 1000 # min 25
143143
# (change requires restart)
144-
#shared_preload_libraries = '' # (change requires restart)
145144

146145
# - Cost-Based Vacuum Delay -
147146

@@ -172,7 +171,7 @@
172171

173172

174173
#------------------------------------------------------------------------------
175-
# WRITE AHEAD LOG
174+
# WRITE-AHEAD LOG
176175
#------------------------------------------------------------------------------
177176

178177
# - Settings -
@@ -228,7 +227,7 @@
228227
# REPLICATION
229228
#------------------------------------------------------------------------------
230229

231-
# - Sending Server(s) -
230+
# - Sending Servers -
232231

233232
# Set these on the master and on any standby that will send replication data.
234233

@@ -337,7 +336,7 @@
337336

338337

339338
#------------------------------------------------------------------------------
340-
# ERROR REPORTING AND LOGGING
339+
# REPORTING AND LOGGING
341340
#------------------------------------------------------------------------------
342341

343342
# - Where to Log -
@@ -472,19 +471,20 @@
472471
# -1 disables, 0 logs all temp files
473472
#log_timezone = 'GMT'
474473

475-
476-
# - Process Title -
474+
#------------------------------------------------------------------------------
475+
# PROCESS TITLE
476+
#------------------------------------------------------------------------------
477477

478478
#cluster_name = '' # added to process titles if nonempty
479479
# (change requires restart)
480480
#update_process_title = on
481481

482482

483483
#------------------------------------------------------------------------------
484-
# RUNTIME STATISTICS
484+
# STATISTICS
485485
#------------------------------------------------------------------------------
486486

487-
# - Query/Index Statistics Collector -
487+
# - Query and Index Statistics Collector -
488488

489489
#track_activities = on
490490
#track_counts = on
@@ -494,7 +494,7 @@
494494
#stats_temp_directory = 'pg_stat_tmp'
495495

496496

497-
# - Statistics Monitoring -
497+
# - Monitoring -
498498

499499
#log_parser_stats = off
500500
#log_planner_stats = off
@@ -503,7 +503,7 @@
503503

504504

505505
#------------------------------------------------------------------------------
506-
# AUTOVACUUM PARAMETERS
506+
# AUTOVACUUM
507507
#------------------------------------------------------------------------------
508508

509509
#autovacuum = on # Enable autovacuum subprocess? 'on'
@@ -588,12 +588,16 @@
588588
# default configuration for text search
589589
#default_text_search_config = 'pg_catalog.simple'
590590

591-
# - Other Defaults -
591+
# - Shared Library Preloading -
592592

593-
#dynamic_library_path = '$libdir'
593+
#shared_preload_libraries = '' # (change requires restart)
594594
#local_preload_libraries = ''
595595
#session_preload_libraries = ''
596596

597+
# - Other Defaults -
598+
599+
#dynamic_library_path = '$libdir'
600+
597601

598602
#------------------------------------------------------------------------------
599603
# LOCK MANAGEMENT
@@ -611,7 +615,7 @@
611615

612616

613617
#------------------------------------------------------------------------------
614-
# VERSION/PLATFORM COMPATIBILITY
618+
# VERSION AND PLATFORM COMPATIBILITY
615619
#------------------------------------------------------------------------------
616620

617621
# - Previous PostgreSQL Versions -

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy