github.com/ddev/ddev@v1.23.2-0.20240519125000-d824ffe36ff3/pkg/ddevapp/postgres/12/postgresql.conf (about)

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