· 6 years ago · Nov 25, 2019, 07:52 AM
1# -----------------------------
2# PostgreSQL configuration file
3# -----------------------------
4#
5# This file consists of lines of the form:
6#
7# name = value
8#
9# (The "=" is optional.) Whitespace may be used. Comments are introduced with
10# "#" anywhere on a line. The complete list of parameter names and allowed
11# values can be found in the PostgreSQL documentation.
12#
13# The commented-out settings shown in this file represent the default values.
14# Re-commenting a setting is NOT sufficient to revert it to the default value;
15# you need to reload the server.
16#
17# This file is read on server startup and when the server receives a SIGHUP
18# signal. If you edit the file on a running system, you have to SIGHUP the
19# server for the changes to take effect, run "pg_ctl reload", or execute
20# "SELECT pg_reload_conf()". Some parameters, which are marked below,
21# require a server shutdown and restart to take effect.
22#
23# Any parameter can also be given as a command-line option to the server, e.g.,
24# "postgres -c log_connections=on". Some parameters can be changed at run time
25# with the "SET" SQL command.
26#
27# Memory units: kB = kilobytes Time units: ms = milliseconds
28# MB = megabytes s = seconds
29# GB = gigabytes min = minutes
30# TB = terabytes h = hours
31# d = days
32
33
34#------------------------------------------------------------------------------
35# FILE LOCATIONS
36#------------------------------------------------------------------------------
37
38# The default values of these variables are driven from the -D command-line
39# option or PGDATA environment variable, represented here as ConfigDir.
40
41#data_directory = 'ConfigDir' # use data in another directory
42 # (change requires restart)
43#hba_file = 'ConfigDir/pg_hba.conf' # host-based authentication file
44 # (change requires restart)
45#ident_file = 'ConfigDir/pg_ident.conf' # ident configuration file
46 # (change requires restart)
47
48# If external_pid_file is not explicitly set, no extra PID file is written.
49#external_pid_file = '' # write an extra PID file
50 # (change requires restart)
51
52
53#------------------------------------------------------------------------------
54# CONNECTIONS AND AUTHENTICATION
55#------------------------------------------------------------------------------
56
57# - Connection Settings -
58
59listen_addresses = '*' # what IP address(es) to listen on;
60 # comma-separated list of addresses;
61 # defaults to 'localhost'; use '*' for all
62 # (change requires restart)
63#port = 5432 # (change requires restart)
64max_connections = 750 # (change requires restart)
65#superuser_reserved_connections = 3 # (change requires restart)
66#unix_socket_directories = '/tmp' # comma-separated list of directories
67 # (change requires restart)
68#unix_socket_group = '' # (change requires restart)
69#unix_socket_permissions = 0777 # begin with 0 to use octal notation
70 # (change requires restart)
71#bonjour = off # advertise server via Bonjour
72 # (change requires restart)
73#bonjour_name = '' # defaults to the computer name
74 # (change requires restart)
75
76# - TCP settings -
77# see "man tcp" for details
78
79#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
80 # 0 selects the system default
81#tcp_keepalives_interval = 0 # TCP_KEEPINTVL, in seconds;
82 # 0 selects the system default
83#tcp_keepalives_count = 0 # TCP_KEEPCNT;
84 # 0 selects the system default
85#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
86 # 0 selects the system default
87
88# - Authentication -
89
90#authentication_timeout = 1min # 1s-600s
91#password_encryption = md5 # md5 or scram-sha-256
92#db_user_namespace = off
93
94# GSSAPI using Kerberos
95#krb_server_keyfile = ''
96#krb_caseins_users = off
97
98# - SSL -
99
100#ssl = off
101#ssl_ca_file = ''
102#ssl_cert_file = 'server.crt'
103#ssl_crl_file = ''
104#ssl_key_file = 'server.key'
105#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
106#ssl_prefer_server_ciphers = on
107#ssl_ecdh_curve = 'prime256v1'
108#ssl_min_protocol_version = 'TLSv1'
109#ssl_max_protocol_version = ''
110#ssl_dh_params_file = ''
111#ssl_passphrase_command = ''
112#ssl_passphrase_command_supports_reload = off
113
114
115#------------------------------------------------------------------------------
116# RESOURCE USAGE (except WAL)
117#------------------------------------------------------------------------------
118
119# - Memory -
120
121shared_buffers = 16384MB # min 128kB
122 # (change requires restart)
123#huge_pages = try # on, off, or try
124 # (change requires restart)
125#temp_buffers = 8MB # min 800kB
126#max_prepared_transactions = 0 # zero disables the feature
127 # (change requires restart)
128# Caution: it is not advisable to set max_prepared_transactions nonzero unless
129# you actively intend to use prepared transactions.
130work_mem = 1024MB # min 64kB
131maintenance_work_mem = 1024MB # min 1MB
132#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
133#logical_decoding_work_mem = 64MB # min 64kB
134#max_stack_depth = 2MB # min 100kB
135#shared_memory_type = mmap # the default is the first option
136 # supported by the operating system:
137 # mmap
138 # sysv
139 # windows
140 # (change requires restart)
141#dynamic_shared_memory_type = posix # the default is the first option
142 # supported by the operating system:
143 # posix
144 # sysv
145 # windows
146 # mmap
147 # (change requires restart)
148
149# - Disk -
150
151#temp_file_limit = -1 # limits per-process temp file space
152 # in kB, or -1 for no limit
153
154# - Kernel Resources -
155
156#max_files_per_process = 1000 # min 25
157 # (change requires restart)
158
159# - Cost-Based Vacuum Delay -
160
161#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
162#vacuum_cost_page_hit = 1 # 0-10000 credits
163#vacuum_cost_page_miss = 10 # 0-10000 credits
164#vacuum_cost_page_dirty = 20 # 0-10000 credits
165#vacuum_cost_limit = 200 # 1-10000 credits
166
167# - Background Writer -
168
169#bgwriter_delay = 200ms # 10-10000ms between rounds
170#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
171#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
172#bgwriter_flush_after = 0 # measured in pages, 0 disables
173
174# - Asynchronous Behavior -
175
176#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
177#max_worker_processes = 8 # (change requires restart)
178#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
179#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
180#parallel_leader_participation = on
181#max_parallel_workers = 8 # maximum number of max_worker_processes that
182 # can be used in parallel operations
183#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
184 # (change requires restart)
185#backend_flush_after = 0 # measured in pages, 0 disables
186
187
188#------------------------------------------------------------------------------
189# WRITE-AHEAD LOG
190#------------------------------------------------------------------------------
191
192# - Settings -
193
194#wal_level = replica # minimal, replica, or logical
195 # (change requires restart)
196#fsync = on # flush data to disk for crash safety
197 # (turning this off can cause
198 # unrecoverable data corruption)
199#synchronous_commit = on # synchronization level;
200 # off, local, remote_write, remote_apply, or on
201#wal_sync_method = fsync # the default is the first option
202 # supported by the operating system:
203 # open_datasync
204 # fdatasync (default on Linux)
205 # fsync
206 # fsync_writethrough
207 # open_sync
208#full_page_writes = on # recover from partial page writes
209#wal_compression = off # enable compression of full-page writes
210#wal_log_hints = off # also do full page writes of non-critical updates
211 # (change requires restart)
212#wal_init_zero = on # zero-fill new WAL files
213#wal_recycle = on # recycle WAL files
214#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
215 # (change requires restart)
216#wal_writer_delay = 200ms # 1-10000 milliseconds
217#wal_writer_flush_after = 1MB # measured in pages, 0 disables
218
219#commit_delay = 0 # range 0-100000, in microseconds
220#commit_siblings = 5 # range 1-1000
221
222# - Checkpoints -
223
224checkpoint_timeout = 15min # range 30s-1d
225#max_wal_size = 15GB
226#min_wal_size = 80MB
227#checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
228#checkpoint_flush_after = 0 # measured in pages, 0 disables
229#checkpoint_warning = 30s # 0 disables
230
231# - Archiving -
232
233#archive_mode = off # enables archiving; off, on, or always
234 # (change requires restart)
235#archive_command = '' # command to use to archive a logfile segment
236 # placeholders: %p = path of file to archive
237 # %f = file name only
238 # e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f'
239#archive_timeout = 0 # force a logfile segment switch after this
240 # number of seconds; 0 disables
241
242# - Archive Recovery -
243
244# These are only used in recovery mode.
245
246#restore_command = '' # command to use to restore an archived logfile segment
247 # placeholders: %p = path of file to restore
248 # %f = file name only
249 # e.g. 'cp /mnt/server/archivedir/%f %p'
250 # (change requires restart)
251#archive_cleanup_command = '' # command to execute at every restartpoint
252#recovery_end_command = '' # command to execute at completion of recovery
253
254# - Recovery Target -
255
256# Set these only when performing a targeted recovery.
257
258#recovery_target = '' # 'immediate' to end recovery as soon as a
259 # consistent state is reached
260 # (change requires restart)
261#recovery_target_name = '' # the named restore point to which recovery will proceed
262 # (change requires restart)
263#recovery_target_time = '' # the time stamp up to which recovery will proceed
264 # (change requires restart)
265#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
266 # (change requires restart)
267#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
268 # (change requires restart)
269#recovery_target_inclusive = on # Specifies whether to stop:
270 # just after the specified recovery target (on)
271 # just before the recovery target (off)
272 # (change requires restart)
273#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
274 # (change requires restart)
275#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
276 # (change requires restart)
277
278
279#------------------------------------------------------------------------------
280# REPLICATION
281#------------------------------------------------------------------------------
282
283# - Sending Servers -
284
285# Set these on the master and on any standby that will send replication data.
286
287#max_wal_senders = 10 # max number of walsender processes
288 # (change requires restart)
289#wal_keep_segments = 0 # in logfile segments; 0 disables
290#wal_sender_timeout = 60s # in milliseconds; 0 disables
291
292#max_replication_slots = 10 # max number of replication slots
293 # (change requires restart)
294#track_commit_timestamp = off # collect timestamp of transaction commit
295 # (change requires restart)
296
297# - Master Server -
298
299# These settings are ignored on a standby server.
300
301#synchronous_standby_names = '' # standby servers that provide sync rep
302 # method to choose sync standbys, number of sync standbys,
303 # and comma-separated list of application_name
304 # from standby(s); '*' = all
305#vacuum_defer_cleanup_age = 0 # number of xacts by which cleanup is delayed
306
307# - Standby Servers -
308
309# These settings are ignored on a master server.
310
311#primary_conninfo = '' # connection string to sending server
312 # (change requires restart)
313#primary_slot_name = '' # replication slot on sending server
314 # (change requires restart)
315#promote_trigger_file = '' # file name whose presence ends recovery
316#hot_standby = on # "off" disallows queries during recovery
317 # (change requires restart)
318#max_standby_archive_delay = 30s # max delay before canceling queries
319 # when reading WAL from archive;
320 # -1 allows indefinite delay
321#max_standby_streaming_delay = 30s # max delay before canceling queries
322 # when reading streaming WAL;
323 # -1 allows indefinite delay
324#wal_receiver_status_interval = 10s # send replies at least this often
325 # 0 disables
326#hot_standby_feedback = off # send info from standby to prevent
327 # query conflicts
328#wal_receiver_timeout = 60s # time that receiver waits for
329 # communication from master
330 # in milliseconds; 0 disables
331#wal_retrieve_retry_interval = 5s # time to wait before retrying to
332 # retrieve WAL after a failed attempt
333#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
334
335# - Subscribers -
336
337# These settings are ignored on a publisher.
338
339#max_logical_replication_workers = 4 # taken from max_worker_processes
340 # (change requires restart)
341#max_sync_workers_per_subscription = 2 # taken from max_logical_replication_workers
342
343
344#------------------------------------------------------------------------------
345# QUERY TUNING
346#------------------------------------------------------------------------------
347
348# - Planner Method Configuration -
349
350#enable_bitmapscan = on
351#enable_hashagg = on
352#enable_hashjoin = on
353#enable_indexscan = on
354#enable_indexonlyscan = on
355#enable_material = on
356#enable_mergejoin = on
357#enable_nestloop = on
358#enable_parallel_append = on
359#enable_seqscan = on
360#enable_sort = on
361#enable_tidscan = on
362#enable_partitionwise_join = off
363#enable_partitionwise_aggregate = off
364#enable_parallel_hash = on
365#enable_partition_pruning = on
366
367# - Planner Cost Constants -
368
369#seq_page_cost = 1.0 # measured on an arbitrary scale
370#random_page_cost = 4.0 # same scale as above
371#cpu_tuple_cost = 0.01 # same scale as above
372#cpu_index_tuple_cost = 0.005 # same scale as above
373#cpu_operator_cost = 0.0025 # same scale as above
374#parallel_tuple_cost = 0.1 # same scale as above
375#parallel_setup_cost = 1000.0 # same scale as above
376
377#jit_above_cost = 100000 # perform JIT compilation if available
378 # and query more expensive than this;
379 # -1 disables
380#jit_inline_above_cost = 500000 # inline small functions if query is
381 # more expensive than this; -1 disables
382#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
383 # query is more expensive than this;
384 # -1 disables
385
386#min_parallel_table_scan_size = 8MB
387#min_parallel_index_scan_size = 512kB
388#effective_cache_size = 4GB
389
390# - Genetic Query Optimizer -
391
392#geqo = on
393#geqo_threshold = 12
394#geqo_effort = 5 # range 1-10
395#geqo_pool_size = 0 # selects default based on effort
396#geqo_generations = 0 # selects default based on effort
397#geqo_selection_bias = 2.0 # range 1.5-2.0
398#geqo_seed = 0.0 # range 0.0-1.0
399
400# - Other Planner Options -
401
402#default_statistics_target = 100 # range 1-10000
403#constraint_exclusion = partition # on, off, or partition
404#cursor_tuple_fraction = 0.1 # range 0.0-1.0
405#from_collapse_limit = 8
406#join_collapse_limit = 8 # 1 disables collapsing of explicit
407 # JOIN clauses
408#force_parallel_mode = off
409#jit = on # allow JIT compilation
410#plan_cache_mode = auto # auto, force_generic_plan or
411 # force_custom_plan
412
413
414#------------------------------------------------------------------------------
415# REPORTING AND LOGGING
416#------------------------------------------------------------------------------
417
418# - Where to Log -
419
420#log_destination = 'csvlog' # Valid values are combinations of
421 # stderr, csvlog, syslog, and eventlog,
422 # depending on platform. csvlog
423 # requires logging_collector to be on.
424
425# This is used when logging to stderr:
426#logging_collector = off # Enable capturing of stderr and csvlog
427 # into log files. Required to be on for
428 # csvlogs.
429 # (change requires restart)
430
431# These are only used if logging_collector is on:
432#log_directory = 'log' # directory where log files are written,
433 # can be absolute or relative to PGDATA
434#log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern,
435 # can include strftime() escapes
436#log_file_mode = 0600 # creation mode for log files,
437 # begin with 0 to use octal notation
438#log_truncate_on_rotation = off # If on, an existing log file with the
439 # same name as the new log file will be
440 # truncated rather than appended to.
441 # But such truncation only occurs on
442 # time-driven rotation, not on restarts
443 # or size-driven rotation. Default is
444 # off, meaning append to existing files
445 # in all cases.
446#log_rotation_age = 1d # Automatic rotation of logfiles will
447 # happen after that time. 0 disables.
448#log_rotation_size = 10MB # Automatic rotation of logfiles will
449 # happen after that much log output.
450 # 0 disables.
451
452# These are relevant when logging to syslog:
453#syslog_facility = 'LOCAL0'
454#syslog_ident = 'postgres'
455#syslog_sequence_numbers = on
456#syslog_split_messages = on
457
458# This is only relevant when logging to eventlog (win32):
459# (change requires restart)
460#event_source = 'PostgreSQL'
461
462# - When to Log -
463
464#log_min_messages = warning # values in order of decreasing detail:
465 # debug5
466 # debug4
467 # debug3
468 # debug2
469 # debug1
470 # info
471 # notice
472 # warning
473 # error
474 # log
475 # fatal
476 # panic
477
478#log_min_error_statement = notice # values in order of decreasing detail:
479 # debug5
480 # debug4
481 # debug3
482 # debug2
483 # debug1
484 # info
485 # notice
486 # warning
487 # error
488 # log
489 # fatal
490 # panic (effectively off)
491
492log_min_duration_statement = 2000 # -1 is disabled, 0 logs all statements
493 # and their durations, > 0 logs only
494 # statements running at least this number
495 # of milliseconds
496
497#log_min_duration_sample = -1 # -1 is disabled, 0 logs a sample of statements
498 # and their durations, > 0 logs only a sample of
499 # statements running at least this number
500 # of milliseconds
501 # Sample fraction is determined by log_statement_sample_rate
502
503#log_statement_sample_rate = 1.0 # Fraction of logged statements exceeding
504 # log_min_duration_sample to be logged.
505 # 1.0 logs all such statements, 0.0 never logs.
506
507
508#log_transaction_sample_rate = 0.0 # Fraction of transactions whose statements
509 # are logged regardless of their duration. 1.0 logs all
510 # statements from all transactions, 0.0 never logs.
511
512# - What to Log -
513
514#debug_print_parse = off
515#debug_print_rewritten = off
516#debug_print_plan = off
517#debug_pretty_print = on
518#log_checkpoints = off
519#log_connections = off
520#log_disconnections = off
521#log_duration = off
522#log_error_verbosity = default # terse, default, or verbose messages
523#log_hostname = off
524#log_line_prefix = '%m [%p] %u %r %h %a' # special values:
525 # %a = application name
526 # %u = user name
527 # %d = database name
528 # %r = remote host and port
529 # %h = remote host
530 # %p = process ID
531 # %t = timestamp without milliseconds
532 # %m = timestamp with milliseconds
533 # %n = timestamp with milliseconds (as a Unix epoch)
534 # %i = command tag
535 # %e = SQL state
536 # %c = session ID
537 # %l = session line number
538 # %s = session start timestamp
539 # %v = virtual transaction ID
540 # %x = transaction ID (0 if none)
541 # %q = stop here in non-session
542 # processes
543 # %% = '%'
544 # e.g. '<%u%%%d> '
545#log_lock_waits = off # log lock waits >= deadlock_timeout
546#log_statement = 'none' # none, ddl, mod, all
547#log_replication_commands = off
548#log_temp_files = -1 # log temporary files equal or larger
549 # than the specified size in kilobytes;
550 # -1 disables, 0 logs all temp files
551#log_timezone = 'GMT'
552
553#------------------------------------------------------------------------------
554# PROCESS TITLE
555#------------------------------------------------------------------------------
556
557#cluster_name = '' # added to process titles if nonempty
558 # (change requires restart)
559#update_process_title = on
560
561
562#------------------------------------------------------------------------------
563# STATISTICS
564#------------------------------------------------------------------------------
565
566# - Query and Index Statistics Collector -
567
568#track_activities = on
569#track_counts = on
570#track_io_timing = off
571#track_functions = none # none, pl, all
572#track_activity_query_size = 1024 # (change requires restart)
573#stats_temp_directory = 'pg_stat_tmp'
574
575
576# - Monitoring -
577
578#log_parser_stats = off
579#log_planner_stats = off
580#log_executor_stats = off
581#log_statement_stats = off
582
583
584#------------------------------------------------------------------------------
585# AUTOVACUUM
586#------------------------------------------------------------------------------
587
588autovacuum = off # Enable autovacuum subprocess? 'on'
589 # requires track_counts to also be on.
590#log_autovacuum_min_duration = -1 # -1 disables, 0 logs all actions and
591 # their durations, > 0 logs only
592 # actions running at least this number
593 # of milliseconds.
594#autovacuum_max_workers = 3 # max number of autovacuum subprocesses
595 # (change requires restart)
596#autovacuum_naptime = 1min # time between autovacuum runs
597#autovacuum_vacuum_threshold = 50 # min number of row updates before
598 # vacuum
599#autovacuum_analyze_threshold = 50 # min number of row updates before
600 # analyze
601#autovacuum_vacuum_scale_factor = 0.2 # fraction of table size before vacuum
602#autovacuum_analyze_scale_factor = 0.1 # fraction of table size before analyze
603#autovacuum_freeze_max_age = 200000000 # maximum XID age before forced vacuum
604 # (change requires restart)
605#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
606 # before forced vacuum
607 # (change requires restart)
608#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
609 # autovacuum, in milliseconds;
610 # -1 means use vacuum_cost_delay
611#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
612 # autovacuum, -1 means use
613 # vacuum_cost_limit
614
615
616#------------------------------------------------------------------------------
617# CLIENT CONNECTION DEFAULTS
618#------------------------------------------------------------------------------
619
620# - Statement Behavior -
621
622#client_min_messages = notice # values in order of decreasing detail:
623 # debug5
624 # debug4
625 # debug3
626 # debug2
627 # debug1
628 # log
629 # notice
630 # warning
631 # error
632#search_path = '"$user", public' # schema names
633#row_security = on
634#default_tablespace = '' # a tablespace name, '' uses the default
635#temp_tablespaces = '' # a list of tablespace names, '' uses
636 # only default tablespace
637#default_table_access_method = 'heap'
638#check_function_bodies = on
639#default_transaction_isolation = 'read committed'
640#default_transaction_read_only = off
641#default_transaction_deferrable = off
642#session_replication_role = 'origin'
643#statement_timeout = 0 # in milliseconds, 0 is disabled
644#lock_timeout = 0 # in milliseconds, 0 is disabled
645#idle_in_transaction_session_timeout = 0 # in milliseconds, 0 is disabled
646#vacuum_freeze_min_age = 50000000
647#vacuum_freeze_table_age = 150000000
648#vacuum_multixact_freeze_min_age = 5000000
649#vacuum_multixact_freeze_table_age = 150000000
650#vacuum_cleanup_index_scale_factor = 0.1 # fraction of total number of tuples
651 # before index cleanup, 0 always performs
652 # index cleanup
653#bytea_output = 'hex' # hex, escape
654#xmlbinary = 'base64'
655#xmloption = 'content'
656#gin_fuzzy_search_limit = 0
657#gin_pending_list_limit = 4MB
658
659# - Locale and Formatting -
660
661#datestyle = 'iso, mdy'
662#intervalstyle = 'postgres'
663#timezone = 'GMT'
664#timezone_abbreviations = 'Default' # Select the set of available time zone
665 # abbreviations. Currently, there are
666 # Default
667 # Australia (historical usage)
668 # India
669 # You can create your own file in
670 # share/timezonesets/.
671#extra_float_digits = 1 # min -15, max 3; any value >0 actually
672 # selects precise output mode
673#client_encoding = sql_ascii # actually, defaults to database
674 # encoding
675
676# These settings are initialized by initdb, but they can be changed.
677#lc_messages = 'C' # locale for system error message
678 # strings
679#lc_monetary = 'C' # locale for monetary formatting
680#lc_numeric = 'C' # locale for number formatting
681#lc_time = 'C' # locale for time formatting
682
683# default configuration for text search
684#default_text_search_config = 'pg_catalog.simple'
685
686# - Shared Library Preloading -
687
688#shared_preload_libraries = '' # (change requires restart)
689#local_preload_libraries = ''
690#session_preload_libraries = ''
691#jit_provider = 'llvmjit' # JIT library to use
692
693# - Other Defaults -
694
695#dynamic_library_path = '$libdir'
696
697
698#------------------------------------------------------------------------------
699# LOCK MANAGEMENT
700#------------------------------------------------------------------------------
701
702#deadlock_timeout = 1s
703#max_locks_per_transaction = 64 # min 10
704 # (change requires restart)
705#max_pred_locks_per_transaction = 64 # min 10
706 # (change requires restart)
707#max_pred_locks_per_relation = -2 # negative values mean
708 # (max_pred_locks_per_transaction
709 # / -max_pred_locks_per_relation) - 1
710#max_pred_locks_per_page = 2 # min 0
711
712
713#------------------------------------------------------------------------------
714# VERSION AND PLATFORM COMPATIBILITY
715#------------------------------------------------------------------------------
716
717# - Previous PostgreSQL Versions -
718
719#array_nulls = on
720#backslash_quote = safe_encoding # on, off, or safe_encoding
721#escape_string_warning = on
722#lo_compat_privileges = off
723#operator_precedence_warning = off
724#quote_all_identifiers = off
725#standard_conforming_strings = on
726#synchronize_seqscans = on
727
728# - Other Platforms and Clients -
729
730#transform_null_equals = off
731
732
733#------------------------------------------------------------------------------
734# ERROR HANDLING
735#------------------------------------------------------------------------------
736
737#exit_on_error = off # terminate session on any error?
738#restart_after_crash = on # reinitialize after backend crash?
739#data_sync_retry = off # retry or panic on failure to fsync
740 # data?
741 # (change requires restart)
742
743
744#------------------------------------------------------------------------------
745# CONFIG FILE INCLUDES
746#------------------------------------------------------------------------------
747
748# These options allow settings to be loaded from files other than the
749# default postgresql.conf. Note that these are directives, not variable
750# assignments, so they can usefully be given more than once.
751
752#include_dir = '...' # include files ending in '.conf' from
753 # a directory, e.g., 'conf.d'
754#include_if_exists = '...' # include file only if it exists
755#include = '...' # include file
756
757
758#------------------------------------------------------------------------------
759# CUSTOMIZED OPTIONS
760#------------------------------------------------------------------------------
761
762# Add settings for extensions here