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