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

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