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

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