1 # -----------------------------
2 # PostgreSQL configuration file
3 # -----------------------------
5 # This file consists of lines of the form:
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.
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.
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.
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.
27 # Memory units: B = bytes Time units: us = microseconds
28 # kB = kilobytes ms = milliseconds
29 # MB = megabytes s = seconds
30 # GB = gigabytes min = minutes
31 # TB = terabytes h = hours
35 #------------------------------------------------------------------------------
37 #------------------------------------------------------------------------------
39 # The default values of these variables are driven from the -D command-line
40 # option or PGDATA environment variable, represented here as ConfigDir.
42 #data_directory = 'ConfigDir' # use data in another directory
43 # (change requires restart)
44 #hba_file = 'ConfigDir/pg_hba.conf' # host-based authentication file
45 # (change requires restart)
46 #ident_file = 'ConfigDir/pg_ident.conf' # ident configuration file
47 # (change requires restart)
49 # If external_pid_file is not explicitly set, no extra PID file is written.
50 #external_pid_file = '' # write an extra PID file
51 # (change requires restart)
54 #------------------------------------------------------------------------------
55 # CONNECTIONS AND AUTHENTICATION
56 #------------------------------------------------------------------------------
58 # - Connection Settings -
60 #listen_addresses = 'localhost' # what IP address(es) to listen on;
61 # comma-separated list of addresses;
62 # defaults to 'localhost'; use '*' for all
63 # (change requires restart)
64 #port = 5432 # (change requires restart)
65 #max_connections = 100 # (change requires restart)
66 #reserved_connections = 0 # (change requires restart)
67 #superuser_reserved_connections = 3 # (change requires restart)
68 #unix_socket_directories = '/tmp' # comma-separated list of directories
69 # (change requires restart)
70 #unix_socket_group = '' # (change requires restart)
71 #unix_socket_permissions = 0777 # begin with 0 to use octal notation
72 # (change requires restart)
73 #bonjour = off # advertise server via Bonjour
74 # (change requires restart)
75 #bonjour_name = '' # defaults to the computer name
76 # (change requires restart)
79 # see "man tcp" for details
81 #tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
82 # 0 selects the system default
83 #tcp_keepalives_interval = 0 # TCP_KEEPINTVL, in seconds;
84 # 0 selects the system default
85 #tcp_keepalives_count = 0 # TCP_KEEPCNT;
86 # 0 selects the system default
87 #tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
88 # 0 selects the system default
90 #client_connection_check_interval = 0 # time between checks for client
91 # disconnection while running queries;
96 #authentication_timeout = 1min # 1s-600s
97 #password_encryption = scram-sha-256 # scram-sha-256 or md5
98 #scram_iterations = 4096
99 #md5_password_warnings = on
101 # GSSAPI using Kerberos
102 #krb_server_keyfile = 'FILE:${sysconfdir}/krb5.keytab'
103 #krb_caseins_users = off
104 #gss_accept_delegation = off
110 #ssl_cert_file = 'server.crt'
113 #ssl_key_file = 'server.key'
114 #ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed TLSv1.2 ciphers
115 #ssl_tls13_ciphers = '' # allowed TLSv1.3 cipher suites, blank for default
116 #ssl_prefer_server_ciphers = on
117 #ssl_groups = 'prime256v1'
118 #ssl_min_protocol_version = 'TLSv1.2'
119 #ssl_max_protocol_version = ''
120 #ssl_dh_params_file = ''
121 #ssl_passphrase_command = ''
122 #ssl_passphrase_command_supports_reload = off
125 #------------------------------------------------------------------------------
126 # RESOURCE USAGE (except WAL)
127 #------------------------------------------------------------------------------
131 #shared_buffers = 128MB # min 128kB
132 # (change requires restart)
133 #huge_pages = try # on, off, or try
134 # (change requires restart)
135 #huge_page_size = 0 # zero for system default
136 # (change requires restart)
137 #temp_buffers = 8MB # min 800kB
138 #max_prepared_transactions = 0 # zero disables the feature
139 # (change requires restart)
140 # Caution: it is not advisable to set max_prepared_transactions nonzero unless
141 # you actively intend to use prepared transactions.
142 #work_mem = 4MB # min 64kB
143 #hash_mem_multiplier = 2.0 # 1-1000.0 multiplier on hash table work_mem
144 #maintenance_work_mem = 64MB # min 64kB
145 #autovacuum_work_mem = -1 # min 64kB, or -1 to use maintenance_work_mem
146 #logical_decoding_work_mem = 64MB # min 64kB
147 #max_stack_depth = 2MB # min 100kB
148 #shared_memory_type = mmap # the default is the first option
149 # supported by the operating system:
153 # (change requires restart)
154 #dynamic_shared_memory_type = posix # the default is usually the first option
155 # supported by the operating system:
160 # (change requires restart)
161 #min_dynamic_shared_memory = 0MB # (change requires restart)
162 #vacuum_buffer_usage_limit = 2MB # size of vacuum and analyze buffer access strategy ring;
163 # 0 to disable vacuum buffer access strategy;
164 # range 128kB to 16GB
166 # SLRU buffers (change requires restart)
167 #commit_timestamp_buffers = 0 # memory for pg_commit_ts (0 = auto)
168 #multixact_offset_buffers = 16 # memory for pg_multixact/offsets
169 #multixact_member_buffers = 32 # memory for pg_multixact/members
170 #notify_buffers = 16 # memory for pg_notify
171 #serializable_buffers = 32 # memory for pg_serial
172 #subtransaction_buffers = 0 # memory for pg_subtrans (0 = auto)
173 #transaction_buffers = 0 # memory for pg_xact (0 = auto)
177 #temp_file_limit = -1 # limits per-process temp file space
178 # in kilobytes, or -1 for no limit
180 #max_notify_queue_pages = 1048576 # limits the number of SLRU pages allocated
181 # for NOTIFY / LISTEN queue
183 # - Kernel Resources -
185 #max_files_per_process = 1000 # min 64
186 # (change requires restart)
188 # - Cost-Based Vacuum Delay -
190 #vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
191 #vacuum_cost_page_hit = 1 # 0-10000 credits
192 #vacuum_cost_page_miss = 2 # 0-10000 credits
193 #vacuum_cost_page_dirty = 20 # 0-10000 credits
194 #vacuum_cost_limit = 200 # 1-10000 credits
196 # - Background Writer -
198 #bgwriter_delay = 200ms # 10-10000ms between rounds
199 #bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
200 #bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
201 #bgwriter_flush_after = 0 # measured in pages, 0 disables
203 # - Asynchronous Behavior -
205 #backend_flush_after = 0 # measured in pages, 0 disables
206 #effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
207 #maintenance_io_concurrency = 10 # 1-1000; 0 disables prefetching
208 #io_combine_limit = 128kB # usually 1-32 blocks (depends on OS)
209 #max_worker_processes = 8 # (change requires restart)
210 #max_parallel_workers_per_gather = 2 # limited by max_parallel_workers
211 #max_parallel_maintenance_workers = 2 # limited by max_parallel_workers
212 #max_parallel_workers = 8 # number of max_worker_processes that
213 # can be used in parallel operations
214 #parallel_leader_participation = on
217 #------------------------------------------------------------------------------
219 #------------------------------------------------------------------------------
223 #wal_level = replica # minimal, replica, or logical
224 # (change requires restart)
225 #fsync = on # flush data to disk for crash safety
226 # (turning this off can cause
227 # unrecoverable data corruption)
228 #synchronous_commit = on # synchronization level;
229 # off, local, remote_write, remote_apply, or on
230 #wal_sync_method = fsync # the default is the first option
231 # supported by the operating system:
233 # fdatasync (default on Linux and FreeBSD)
237 #full_page_writes = on # recover from partial page writes
238 #wal_log_hints = off # also do full page writes of non-critical updates
239 # (change requires restart)
240 #wal_compression = off # enables compression of full-page writes;
241 # off, pglz, lz4, zstd, or on
242 #wal_init_zero = on # zero-fill new WAL files
243 #wal_recycle = on # recycle WAL files
244 #wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
245 # (change requires restart)
246 #wal_writer_delay = 200ms # 1-10000 milliseconds
247 #wal_writer_flush_after = 1MB # measured in pages, 0 disables
248 #wal_skip_threshold = 2MB
250 #commit_delay = 0 # range 0-100000, in microseconds
251 #commit_siblings = 5 # range 1-1000
255 #checkpoint_timeout = 5min # range 30s-1d
256 #checkpoint_completion_target = 0.9 # checkpoint target duration, 0.0 - 1.0
257 #checkpoint_flush_after = 0 # measured in pages, 0 disables
258 #checkpoint_warning = 30s # 0 disables
262 # - Prefetching during recovery -
264 #recovery_prefetch = try # prefetch pages referenced in the WAL?
265 #wal_decode_buffer_size = 512kB # lookahead window used for prefetching
266 # (change requires restart)
270 #archive_mode = off # enables archiving; off, on, or always
271 # (change requires restart)
272 #archive_library = '' # library to use to archive a WAL file
273 # (empty string indicates archive_command should
275 #archive_command = '' # command to use to archive a WAL file
276 # placeholders: %p = path of file to archive
277 # %f = file name only
278 # e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f'
279 #archive_timeout = 0 # force a WAL file switch after this
280 # number of seconds; 0 disables
282 # - Archive Recovery -
284 # These are only used in recovery mode.
286 #restore_command = '' # command to use to restore an archived WAL file
287 # placeholders: %p = path of file to restore
288 # %f = file name only
289 # e.g. 'cp /mnt/server/archivedir/%f %p'
290 #archive_cleanup_command = '' # command to execute at every restartpoint
291 #recovery_end_command = '' # command to execute at completion of recovery
293 # - Recovery Target -
295 # Set these only when performing a targeted recovery.
297 #recovery_target = '' # 'immediate' to end recovery as soon as a
298 # consistent state is reached
299 # (change requires restart)
300 #recovery_target_name = '' # the named restore point to which recovery will proceed
301 # (change requires restart)
302 #recovery_target_time = '' # the time stamp up to which recovery will proceed
303 # (change requires restart)
304 #recovery_target_xid = '' # the transaction ID up to which recovery will proceed
305 # (change requires restart)
306 #recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
307 # (change requires restart)
308 #recovery_target_inclusive = on # Specifies whether to stop:
309 # just after the specified recovery target (on)
310 # just before the recovery target (off)
311 # (change requires restart)
312 #recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
313 # (change requires restart)
314 #recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
315 # (change requires restart)
317 # - WAL Summarization -
319 #summarize_wal = off # run WAL summarizer process?
320 #wal_summary_keep_time = '10d' # when to remove old summary files, 0 = never
323 #------------------------------------------------------------------------------
325 #------------------------------------------------------------------------------
327 # - Sending Servers -
329 # Set these on the primary and on any standby that will send replication data.
331 #max_wal_senders = 10 # max number of walsender processes
332 # (change requires restart)
333 #max_replication_slots = 10 # max number of replication slots
334 # (change requires restart)
335 #wal_keep_size = 0 # in megabytes; 0 disables
336 #max_slot_wal_keep_size = -1 # in megabytes; -1 disables
337 #wal_sender_timeout = 60s # in milliseconds; 0 disables
338 #track_commit_timestamp = off # collect timestamp of transaction commit
339 # (change requires restart)
343 # These settings are ignored on a standby server.
345 #synchronous_standby_names = '' # standby servers that provide sync rep
346 # method to choose sync standbys, number of sync standbys,
347 # and comma-separated list of application_name
348 # from standby(s); '*' = all
349 #synchronized_standby_slots = '' # streaming replication standby server slot
350 # names that logical walsender processes will wait for
352 # - Standby Servers -
354 # These settings are ignored on a primary server.
356 #primary_conninfo = '' # connection string to sending server
357 #primary_slot_name = '' # replication slot on sending server
358 #hot_standby = on # "off" disallows queries during recovery
359 # (change requires restart)
360 #max_standby_archive_delay = 30s # max delay before canceling queries
361 # when reading WAL from archive;
362 # -1 allows indefinite delay
363 #max_standby_streaming_delay = 30s # max delay before canceling queries
364 # when reading streaming WAL;
365 # -1 allows indefinite delay
366 #wal_receiver_create_temp_slot = off # create temp slot if primary_slot_name
368 #wal_receiver_status_interval = 10s # send replies at least this often
370 #hot_standby_feedback = off # send info from standby to prevent
372 #wal_receiver_timeout = 60s # time that receiver waits for
373 # communication from primary
374 # in milliseconds; 0 disables
375 #wal_retrieve_retry_interval = 5s # time to wait before retrying to
376 # retrieve WAL after a failed attempt
377 #recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
378 #sync_replication_slots = off # enables slot synchronization on the physical standby from the primary
382 # These settings are ignored on a publisher.
384 #max_logical_replication_workers = 4 # taken from max_worker_processes
385 # (change requires restart)
386 #max_sync_workers_per_subscription = 2 # taken from max_logical_replication_workers
387 #max_parallel_apply_workers_per_subscription = 2 # taken from max_logical_replication_workers
390 #------------------------------------------------------------------------------
392 #------------------------------------------------------------------------------
394 # - Planner Method Configuration -
396 #enable_async_append = on
397 #enable_bitmapscan = on
398 #enable_gathermerge = on
400 #enable_hashjoin = on
401 #enable_incremental_sort = on
402 #enable_indexscan = on
403 #enable_indexonlyscan = on
404 #enable_material = on
406 #enable_mergejoin = on
407 #enable_nestloop = on
408 #enable_parallel_append = on
409 #enable_parallel_hash = on
410 #enable_partition_pruning = on
411 #enable_partitionwise_join = off
412 #enable_partitionwise_aggregate = off
413 #enable_presorted_aggregate = on
417 #enable_group_by_reordering = on
418 #enable_distinct_reordering = on
420 # - Planner Cost Constants -
422 #seq_page_cost = 1.0 # measured on an arbitrary scale
423 #random_page_cost = 4.0 # same scale as above
424 #cpu_tuple_cost = 0.01 # same scale as above
425 #cpu_index_tuple_cost = 0.005 # same scale as above
426 #cpu_operator_cost = 0.0025 # same scale as above
427 #parallel_setup_cost = 1000.0 # same scale as above
428 #parallel_tuple_cost = 0.1 # same scale as above
429 #min_parallel_table_scan_size = 8MB
430 #min_parallel_index_scan_size = 512kB
431 #effective_cache_size = 4GB
433 #jit_above_cost = 100000 # perform JIT compilation if available
434 # and query more expensive than this;
436 #jit_inline_above_cost = 500000 # inline small functions if query is
437 # more expensive than this; -1 disables
438 #jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
439 # query is more expensive than this;
442 # - Genetic Query Optimizer -
446 #geqo_effort = 5 # range 1-10
447 #geqo_pool_size = 0 # selects default based on effort
448 #geqo_generations = 0 # selects default based on effort
449 #geqo_selection_bias = 2.0 # range 1.5-2.0
450 #geqo_seed = 0.0 # range 0.0-1.0
452 # - Other Planner Options -
454 #default_statistics_target = 100 # range 1-10000
455 #constraint_exclusion = partition # on, off, or partition
456 #cursor_tuple_fraction = 0.1 # range 0.0-1.0
457 #from_collapse_limit = 8
458 #jit = on # allow JIT compilation
459 #join_collapse_limit = 8 # 1 disables collapsing of explicit
461 #plan_cache_mode = auto # auto, force_generic_plan or
463 #recursive_worktable_factor = 10.0 # range 0.001-1000000
466 #------------------------------------------------------------------------------
467 # REPORTING AND LOGGING
468 #------------------------------------------------------------------------------
472 #log_destination = 'stderr' # Valid values are combinations of
473 # stderr, csvlog, jsonlog, syslog, and
474 # eventlog, depending on platform.
475 # csvlog and jsonlog require
476 # logging_collector to be on.
478 # This is used when logging to stderr:
479 #logging_collector = off # Enable capturing of stderr, jsonlog,
480 # and csvlog into log files. Required
481 # to be on for csvlogs and jsonlogs.
482 # (change requires restart)
484 # These are only used if logging_collector is on:
485 #log_directory = 'log' # directory where log files are written,
486 # can be absolute or relative to PGDATA
487 #log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern,
488 # can include strftime() escapes
489 #log_file_mode = 0600 # creation mode for log files,
490 # begin with 0 to use octal notation
491 #log_rotation_age = 1d # Automatic rotation of logfiles will
492 # happen after that time. 0 disables.
493 #log_rotation_size = 10MB # Automatic rotation of logfiles will
494 # happen after that much log output.
496 #log_truncate_on_rotation = off # If on, an existing log file with the
497 # same name as the new log file will be
498 # truncated rather than appended to.
499 # But such truncation only occurs on
500 # time-driven rotation, not on restarts
501 # or size-driven rotation. Default is
502 # off, meaning append to existing files
505 # These are relevant when logging to syslog:
506 #syslog_facility = 'LOCAL0'
507 #syslog_ident = 'postgres'
508 #syslog_sequence_numbers = on
509 #syslog_split_messages = on
511 # This is only relevant when logging to eventlog (Windows):
512 # (change requires restart)
513 #event_source = 'PostgreSQL'
517 #log_min_messages = warning # values in order of decreasing detail:
531 #log_min_error_statement = error # values in order of decreasing detail:
543 # panic (effectively off)
545 #log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
546 # and their durations, > 0 logs only
547 # statements running at least this number
550 #log_min_duration_sample = -1 # -1 is disabled, 0 logs a sample of statements
551 # and their durations, > 0 logs only a sample of
552 # statements running at least this number
554 # sample fraction is determined by log_statement_sample_rate
556 #log_statement_sample_rate = 1.0 # fraction of logged statements exceeding
557 # log_min_duration_sample to be logged;
558 # 1.0 logs all such statements, 0.0 never logs
561 #log_transaction_sample_rate = 0.0 # fraction of transactions whose statements
562 # are logged regardless of their duration; 1.0 logs all
563 # statements from all transactions, 0.0 never logs
565 #log_startup_progress_interval = 10s # Time between progress updates for
566 # long-running startup operations.
567 # 0 disables the feature, > 0 indicates
568 # the interval in milliseconds.
572 #debug_print_parse = off
573 #debug_print_rewritten = off
574 #debug_print_plan = off
575 #debug_pretty_print = on
576 #log_autovacuum_min_duration = 10min # log autovacuum activity;
577 # -1 disables, 0 logs all actions and
578 # their durations, > 0 logs only
579 # actions running at least this number
581 #log_checkpoints = on
582 #log_connections = off
583 #log_disconnections = off
585 #log_error_verbosity = default # terse, default, or verbose messages
587 #log_line_prefix = '%m [%p] ' # special values:
588 # %a = application name
591 # %r = remote host and port
595 # %P = process ID of parallel group leader
596 # %t = timestamp without milliseconds
597 # %m = timestamp with milliseconds
598 # %n = timestamp with milliseconds (as a Unix epoch)
599 # %Q = query ID (0 if none or not computed)
603 # %l = session line number
604 # %s = session start timestamp
605 # %v = virtual transaction ID
606 # %x = transaction ID (0 if none)
607 # %q = stop here in non-session
611 #log_lock_waits = off # log lock waits >= deadlock_timeout
612 #log_recovery_conflict_waits = off # log standby recovery conflict waits
613 # >= deadlock_timeout
614 #log_parameter_max_length = -1 # when logging statements, limit logged
615 # bind-parameter values to N bytes;
616 # -1 means print in full, 0 disables
617 #log_parameter_max_length_on_error = 0 # when logging an error, limit logged
618 # bind-parameter values to N bytes;
619 # -1 means print in full, 0 disables
620 #log_statement = 'none' # none, ddl, mod, all
621 #log_replication_commands = off
622 #log_temp_files = -1 # log temporary files equal or larger
623 # than the specified size in kilobytes;
624 # -1 disables, 0 logs all temp files
625 #log_timezone = 'GMT'
629 #cluster_name = '' # added to process titles if nonempty
630 # (change requires restart)
631 #update_process_title = on
634 #------------------------------------------------------------------------------
636 #------------------------------------------------------------------------------
638 # - Cumulative Query and Index Statistics -
640 #track_activities = on
641 #track_activity_query_size = 1024 # (change requires restart)
643 #track_io_timing = off
644 #track_wal_io_timing = off
645 #track_functions = none # none, pl, all
646 #stats_fetch_consistency = cache # cache, none, snapshot
651 #compute_query_id = auto
652 #log_statement_stats = off
653 #log_parser_stats = off
654 #log_planner_stats = off
655 #log_executor_stats = off
658 #------------------------------------------------------------------------------
660 #------------------------------------------------------------------------------
662 #autovacuum = on # Enable autovacuum subprocess? 'on'
663 # requires track_counts to also be on.
664 #autovacuum_max_workers = 3 # max number of autovacuum subprocesses
665 # (change requires restart)
666 #autovacuum_naptime = 1min # time between autovacuum runs
667 #autovacuum_vacuum_threshold = 50 # min number of row updates before
669 #autovacuum_vacuum_insert_threshold = 1000 # min number of row inserts
670 # before vacuum; -1 disables insert
672 #autovacuum_analyze_threshold = 50 # min number of row updates before
674 #autovacuum_vacuum_scale_factor = 0.2 # fraction of table size before vacuum
675 #autovacuum_vacuum_insert_scale_factor = 0.2 # fraction of inserts over table
676 # size before insert vacuum
677 #autovacuum_analyze_scale_factor = 0.1 # fraction of table size before analyze
678 #autovacuum_freeze_max_age = 200000000 # maximum XID age before forced vacuum
679 # (change requires restart)
680 #autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
681 # before forced vacuum
682 # (change requires restart)
683 #autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
684 # autovacuum, in milliseconds;
685 # -1 means use vacuum_cost_delay
686 #autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
687 # autovacuum, -1 means use
691 #------------------------------------------------------------------------------
692 # CLIENT CONNECTION DEFAULTS
693 #------------------------------------------------------------------------------
695 # - Statement Behavior -
697 #client_min_messages = notice # values in order of decreasing detail:
707 #search_path = '"$user", public' # schema names
709 #default_table_access_method = 'heap'
710 #default_tablespace = '' # a tablespace name, '' uses the default
711 #default_toast_compression = 'pglz' # 'pglz' or 'lz4'
712 #temp_tablespaces = '' # a list of tablespace names, '' uses
713 # only default tablespace
714 #check_function_bodies = on
715 #default_transaction_isolation = 'read committed'
716 #default_transaction_read_only = off
717 #default_transaction_deferrable = off
718 #session_replication_role = 'origin'
719 #statement_timeout = 0 # in milliseconds, 0 is disabled
720 #transaction_timeout = 0 # in milliseconds, 0 is disabled
721 #lock_timeout = 0 # in milliseconds, 0 is disabled
722 #idle_in_transaction_session_timeout = 0 # in milliseconds, 0 is disabled
723 #idle_session_timeout = 0 # in milliseconds, 0 is disabled
724 #vacuum_freeze_table_age = 150000000
725 #vacuum_freeze_min_age = 50000000
726 #vacuum_failsafe_age = 1600000000
727 #vacuum_multixact_freeze_table_age = 150000000
728 #vacuum_multixact_freeze_min_age = 5000000
729 #vacuum_multixact_failsafe_age = 1600000000
730 #bytea_output = 'hex' # hex, escape
731 #xmlbinary = 'base64'
732 #xmloption = 'content'
733 #gin_pending_list_limit = 4MB
734 #createrole_self_grant = '' # set and/or inherit
737 # - Locale and Formatting -
739 #datestyle = 'iso, mdy'
740 #intervalstyle = 'postgres'
742 #timezone_abbreviations = 'Default' # Select the set of available time zone
743 # abbreviations. Currently, there are
745 # Australia (historical usage)
747 # You can create your own file in
748 # share/timezonesets/.
749 #extra_float_digits = 1 # min -15, max 3; any value >0 actually
750 # selects precise output mode
751 #client_encoding = sql_ascii # actually, defaults to database
754 # These settings are initialized by initdb, but they can be changed.
755 #lc_messages = '' # locale for system error message
757 #lc_monetary = 'C' # locale for monetary formatting
758 #lc_numeric = 'C' # locale for number formatting
759 #lc_time = 'C' # locale for time formatting
761 #icu_validation_level = warning # report ICU locale validation
762 # errors at the given level
764 # default configuration for text search
765 #default_text_search_config = 'pg_catalog.simple'
767 # - Shared Library Preloading -
769 #local_preload_libraries = ''
770 #session_preload_libraries = ''
771 #shared_preload_libraries = '' # (change requires restart)
772 #jit_provider = 'llvmjit' # JIT library to use
776 #dynamic_library_path = '$libdir'
777 #gin_fuzzy_search_limit = 0
780 #------------------------------------------------------------------------------
782 #------------------------------------------------------------------------------
784 #deadlock_timeout = 1s
785 #max_locks_per_transaction = 64 # min 10
786 # (change requires restart)
787 #max_pred_locks_per_transaction = 64 # min 10
788 # (change requires restart)
789 #max_pred_locks_per_relation = -2 # negative values mean
790 # (max_pred_locks_per_transaction
791 # / -max_pred_locks_per_relation) - 1
792 #max_pred_locks_per_page = 2 # min 0
795 #------------------------------------------------------------------------------
796 # VERSION AND PLATFORM COMPATIBILITY
797 #------------------------------------------------------------------------------
799 # - Previous PostgreSQL Versions -
802 #backslash_quote = safe_encoding # on, off, or safe_encoding
803 #escape_string_warning = on
804 #lo_compat_privileges = off
805 #quote_all_identifiers = off
806 #standard_conforming_strings = on
807 #synchronize_seqscans = on
809 # - Other Platforms and Clients -
811 #transform_null_equals = off
812 #allow_alter_system = on
815 #------------------------------------------------------------------------------
817 #------------------------------------------------------------------------------
819 #exit_on_error = off # terminate session on any error?
820 #restart_after_crash = on # reinitialize after backend crash?
821 #data_sync_retry = off # retry or panic on failure to fsync
823 # (change requires restart)
824 #recovery_init_sync_method = fsync # fsync, syncfs (Linux 5.8+)
827 #------------------------------------------------------------------------------
828 # CONFIG FILE INCLUDES
829 #------------------------------------------------------------------------------
831 # These options allow settings to be loaded from files other than the
832 # default postgresql.conf. Note that these are directives, not variable
833 # assignments, so they can usefully be given more than once.
835 #include_dir = '...' # include files ending in '.conf' from
836 # a directory, e.g., 'conf.d'
837 #include_if_exists = '...' # include file only if it exists
838 #include = '...' # include file
841 #------------------------------------------------------------------------------
843 #------------------------------------------------------------------------------
845 # Add settings for extensions here