Bump postgres configs to version 12
This commit is contained in:
parent
268dc6447c
commit
4c0fcc5535
@ -73,27 +73,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
#bonjour_name = '' # defaults to the computer name
|
#bonjour_name = '' # defaults to the computer name
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Security and Authentication -
|
# - TCP settings -
|
||||||
|
|
||||||
#authentication_timeout = 1min # 1s-600s
|
|
||||||
#ssl = off
|
|
||||||
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
||||||
#ssl_prefer_server_ciphers = on
|
|
||||||
#ssl_ecdh_curve = 'prime256v1'
|
|
||||||
#ssl_dh_params_file = ''
|
|
||||||
#ssl_cert_file = 'server.crt'
|
|
||||||
#ssl_key_file = 'server.key'
|
|
||||||
#ssl_ca_file = ''
|
|
||||||
#ssl_crl_file = ''
|
|
||||||
#password_encryption = md5 # md5 or scram-sha-256
|
|
||||||
#db_user_namespace = off
|
|
||||||
#row_security = on
|
|
||||||
|
|
||||||
# GSSAPI using Kerberos
|
|
||||||
#krb_server_keyfile = ''
|
|
||||||
#krb_caseins_users = off
|
|
||||||
|
|
||||||
# - TCP Keepalives -
|
|
||||||
# see "man 7 tcp" for details
|
# see "man 7 tcp" for details
|
||||||
|
|
||||||
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
||||||
@ -102,6 +82,34 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
|
#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
|
||||||
|
# 0 selects the system default
|
||||||
|
|
||||||
|
# - Authentication -
|
||||||
|
|
||||||
|
#authentication_timeout = 1min # 1s-600s
|
||||||
|
#password_encryption = md5 # md5 or scram-sha-256
|
||||||
|
#db_user_namespace = off
|
||||||
|
|
||||||
|
# GSSAPI using Kerberos
|
||||||
|
#krb_server_keyfile = ''
|
||||||
|
#krb_caseins_users = off
|
||||||
|
|
||||||
|
# - SSL -
|
||||||
|
|
||||||
|
#ssl = off
|
||||||
|
#ssl_ca_file = ''
|
||||||
|
#ssl_cert_file = 'server.crt'
|
||||||
|
#ssl_crl_file = ''
|
||||||
|
#ssl_key_file = 'server.key'
|
||||||
|
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
||||||
|
#ssl_prefer_server_ciphers = on
|
||||||
|
#ssl_ecdh_curve = 'prime256v1'
|
||||||
|
#ssl_min_protocol_version = 'TLSv1'
|
||||||
|
#ssl_max_protocol_version = ''
|
||||||
|
#ssl_dh_params_file = ''
|
||||||
|
#ssl_passphrase_command = ''
|
||||||
|
#ssl_passphrase_command_supports_reload = off
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -110,7 +118,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
|
|
||||||
# - Memory -
|
# - Memory -
|
||||||
|
|
||||||
shared_buffers = 192MB # min 128kB
|
shared_buffers = 128MB # min 128kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#huge_pages = try # on, off, or try
|
#huge_pages = try # on, off, or try
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -121,16 +129,20 @@ shared_buffers = 192MB # min 128kB
|
|||||||
# you actively intend to use prepared transactions.
|
# you actively intend to use prepared transactions.
|
||||||
#work_mem = 4MB # min 64kB
|
#work_mem = 4MB # min 64kB
|
||||||
#maintenance_work_mem = 64MB # min 1MB
|
#maintenance_work_mem = 64MB # min 1MB
|
||||||
#replacement_sort_tuples = 150000 # limits use of replacement selection sort
|
|
||||||
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
||||||
#max_stack_depth = 2MB # min 100kB
|
#max_stack_depth = 2MB # min 100kB
|
||||||
|
#shared_memory_type = mmap # the default is the first option
|
||||||
|
# supported by the operating system:
|
||||||
|
# mmap
|
||||||
|
# sysv
|
||||||
|
# windows
|
||||||
|
# (change requires restart)
|
||||||
dynamic_shared_memory_type = posix # the default is the first option
|
dynamic_shared_memory_type = posix # the default is the first option
|
||||||
# supported by the operating system:
|
# supported by the operating system:
|
||||||
# posix
|
# posix
|
||||||
# sysv
|
# sysv
|
||||||
# windows
|
# windows
|
||||||
# mmap
|
# mmap
|
||||||
# use none to disable dynamic shared memory
|
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Disk -
|
# - Disk -
|
||||||
@ -138,15 +150,14 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
#temp_file_limit = -1 # limits per-process temp file space
|
#temp_file_limit = -1 # limits per-process temp file space
|
||||||
# in kB, or -1 for no limit
|
# in kB, or -1 for no limit
|
||||||
|
|
||||||
# - Kernel Resource Usage -
|
# - Kernel Resources -
|
||||||
|
|
||||||
#max_files_per_process = 1000 # min 25
|
#max_files_per_process = 1000 # min 25
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#shared_preload_libraries = '' # (change requires restart)
|
|
||||||
|
|
||||||
# - Cost-Based Vacuum Delay -
|
# - Cost-Based Vacuum Delay -
|
||||||
|
|
||||||
#vacuum_cost_delay = 0 # 0-100 milliseconds
|
#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
|
||||||
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
||||||
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
||||||
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
||||||
@ -155,7 +166,7 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
# - Background Writer -
|
# - Background Writer -
|
||||||
|
|
||||||
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
||||||
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
|
#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
|
||||||
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
||||||
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
||||||
|
|
||||||
@ -163,16 +174,18 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
|
|
||||||
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
||||||
#max_worker_processes = 8 # (change requires restart)
|
#max_worker_processes = 8 # (change requires restart)
|
||||||
|
#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
|
||||||
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
||||||
|
#parallel_leader_participation = on
|
||||||
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
||||||
# can be used in parallel queries
|
# can be used in parallel operations
|
||||||
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#backend_flush_after = 0 # measured in pages, 0 disables
|
#backend_flush_after = 0 # measured in pages, 0 disables
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# WRITE AHEAD LOG
|
# WRITE-AHEAD LOG
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Settings -
|
# - Settings -
|
||||||
@ -180,8 +193,8 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
wal_level = minimal # minimal, replica, or logical
|
wal_level = minimal # minimal, replica, or logical
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#fsync = on # flush data to disk for crash safety
|
#fsync = on # flush data to disk for crash safety
|
||||||
# (turning this off can cause
|
# (turning this off can cause
|
||||||
# unrecoverable data corruption)
|
# unrecoverable data corruption)
|
||||||
#synchronous_commit = on # synchronization level;
|
#synchronous_commit = on # synchronization level;
|
||||||
# off, local, remote_write, remote_apply, or on
|
# off, local, remote_write, remote_apply, or on
|
||||||
#wal_sync_method = fsync # the default is the first option
|
#wal_sync_method = fsync # the default is the first option
|
||||||
@ -195,6 +208,8 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#wal_compression = off # enable compression of full-page writes
|
#wal_compression = off # enable compression of full-page writes
|
||||||
#wal_log_hints = off # also do full page writes of non-critical updates
|
#wal_log_hints = off # also do full page writes of non-critical updates
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
#wal_init_zero = on # zero-fill new WAL files
|
||||||
|
#wal_recycle = on # recycle WAL files
|
||||||
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
||||||
@ -223,18 +238,54 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#archive_timeout = 0 # force a logfile segment switch after this
|
#archive_timeout = 0 # force a logfile segment switch after this
|
||||||
# number of seconds; 0 disables
|
# number of seconds; 0 disables
|
||||||
|
|
||||||
|
# - Archive Recovery -
|
||||||
|
|
||||||
|
# These are only used in recovery mode.
|
||||||
|
|
||||||
|
#restore_command = '' # command to use to restore an archived logfile segment
|
||||||
|
# placeholders: %p = path of file to restore
|
||||||
|
# %f = file name only
|
||||||
|
# e.g. 'cp /mnt/server/archivedir/%f %p'
|
||||||
|
# (change requires restart)
|
||||||
|
#archive_cleanup_command = '' # command to execute at every restartpoint
|
||||||
|
#recovery_end_command = '' # command to execute at completion of recovery
|
||||||
|
|
||||||
|
# - Recovery Target -
|
||||||
|
|
||||||
|
# Set these only when performing a targeted recovery.
|
||||||
|
|
||||||
|
#recovery_target = '' # 'immediate' to end recovery as soon as a
|
||||||
|
# consistent state is reached
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_name = '' # the named restore point to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_time = '' # the time stamp up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_inclusive = on # Specifies whether to stop:
|
||||||
|
# just after the specified recovery target (on)
|
||||||
|
# just before the recovery target (off)
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# REPLICATION
|
# REPLICATION
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Sending Server(s) -
|
# - Sending Servers -
|
||||||
|
|
||||||
# Set these on the master and on any standby that will send replication data.
|
# Set these on the master and on any standby that will send replication data.
|
||||||
|
|
||||||
max_wal_senders = 0 # max number of walsender processes
|
max_wal_senders = 0 # max number of walsender processes
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
#wal_keep_segments = 0 # in logfile segments; 0 disables
|
||||||
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
||||||
|
|
||||||
max_replication_slots = 0 # max number of replication slots
|
max_replication_slots = 0 # max number of replication slots
|
||||||
@ -256,6 +307,11 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
|
|
||||||
# These settings are ignored on a master server.
|
# These settings are ignored on a master server.
|
||||||
|
|
||||||
|
#primary_conninfo = '' # connection string to sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#primary_slot_name = '' # replication slot on sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#promote_trigger_file = '' # file name whose presence ends recovery
|
||||||
#hot_standby = on # "off" disallows queries during recovery
|
#hot_standby = on # "off" disallows queries during recovery
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#max_standby_archive_delay = 30s # max delay before canceling queries
|
#max_standby_archive_delay = 30s # max delay before canceling queries
|
||||||
@ -273,6 +329,7 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
# in milliseconds; 0 disables
|
# in milliseconds; 0 disables
|
||||||
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
||||||
# retrieve WAL after a failed attempt
|
# retrieve WAL after a failed attempt
|
||||||
|
#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
|
||||||
|
|
||||||
# - Subscribers -
|
# - Subscribers -
|
||||||
|
|
||||||
@ -297,9 +354,14 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#enable_material = on
|
#enable_material = on
|
||||||
#enable_mergejoin = on
|
#enable_mergejoin = on
|
||||||
#enable_nestloop = on
|
#enable_nestloop = on
|
||||||
|
#enable_parallel_append = on
|
||||||
#enable_seqscan = on
|
#enable_seqscan = on
|
||||||
#enable_sort = on
|
#enable_sort = on
|
||||||
#enable_tidscan = on
|
#enable_tidscan = on
|
||||||
|
#enable_partitionwise_join = off
|
||||||
|
#enable_partitionwise_aggregate = off
|
||||||
|
#enable_parallel_hash = on
|
||||||
|
#enable_partition_pruning = on
|
||||||
|
|
||||||
# - Planner Cost Constants -
|
# - Planner Cost Constants -
|
||||||
|
|
||||||
@ -310,6 +372,16 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#cpu_operator_cost = 0.0025 # same scale as above
|
#cpu_operator_cost = 0.0025 # same scale as above
|
||||||
#parallel_tuple_cost = 0.1 # same scale as above
|
#parallel_tuple_cost = 0.1 # same scale as above
|
||||||
#parallel_setup_cost = 1000.0 # same scale as above
|
#parallel_setup_cost = 1000.0 # same scale as above
|
||||||
|
|
||||||
|
#jit_above_cost = 100000 # perform JIT compilation if available
|
||||||
|
# and query more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
#jit_inline_above_cost = 500000 # inline small functions if query is
|
||||||
|
# more expensive than this; -1 disables
|
||||||
|
#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
|
||||||
|
# query is more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
|
||||||
#min_parallel_table_scan_size = 8MB
|
#min_parallel_table_scan_size = 8MB
|
||||||
#min_parallel_index_scan_size = 512kB
|
#min_parallel_index_scan_size = 512kB
|
||||||
#effective_cache_size = 4GB
|
#effective_cache_size = 4GB
|
||||||
@ -333,10 +405,13 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
||||||
# JOIN clauses
|
# JOIN clauses
|
||||||
#force_parallel_mode = off
|
#force_parallel_mode = off
|
||||||
|
#jit = on # allow JIT compilation
|
||||||
|
#plan_cache_mode = auto # auto, force_generic_plan or
|
||||||
|
# force_custom_plan
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# ERROR REPORTING AND LOGGING
|
# REPORTING AND LOGGING
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Where to Log -
|
# - Where to Log -
|
||||||
@ -385,17 +460,6 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
|
|
||||||
# - When to Log -
|
# - When to Log -
|
||||||
|
|
||||||
#client_min_messages = notice # values in order of decreasing detail:
|
|
||||||
# debug5
|
|
||||||
# debug4
|
|
||||||
# debug3
|
|
||||||
# debug2
|
|
||||||
# debug1
|
|
||||||
# log
|
|
||||||
# notice
|
|
||||||
# warning
|
|
||||||
# error
|
|
||||||
|
|
||||||
#log_min_messages = warning # values in order of decreasing detail:
|
#log_min_messages = warning # values in order of decreasing detail:
|
||||||
# debug5
|
# debug5
|
||||||
# debug4
|
# debug4
|
||||||
@ -429,6 +493,9 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
# statements running at least this number
|
# statements running at least this number
|
||||||
# of milliseconds
|
# of milliseconds
|
||||||
|
|
||||||
|
#log_transaction_sample_rate = 0.0 # Fraction of transactions whose statements
|
||||||
|
# are logged regardless of their duration. 1.0 logs all
|
||||||
|
# statements from all transactions, 0.0 never logs.
|
||||||
|
|
||||||
# - What to Log -
|
# - What to Log -
|
||||||
|
|
||||||
@ -464,15 +531,16 @@ log_line_prefix = '%m [%p] %q%u@%d ' # special values:
|
|||||||
# %% = '%'
|
# %% = '%'
|
||||||
# e.g. '<%u%%%d> '
|
# e.g. '<%u%%%d> '
|
||||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||||
#log_statement = 'all' # none, ddl, mod, all
|
#log_statement = 'none' # none, ddl, mod, all
|
||||||
#log_replication_commands = off
|
#log_replication_commands = off
|
||||||
#log_temp_files = -1 # log temporary files equal or larger
|
#log_temp_files = -1 # log temporary files equal or larger
|
||||||
# than the specified size in kilobytes;
|
# than the specified size in kilobytes;
|
||||||
# -1 disables, 0 logs all temp files
|
# -1 disables, 0 logs all temp files
|
||||||
log_timezone = 'Europe/Prague'
|
log_timezone = 'Europe/Prague'
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
# - Process Title -
|
# PROCESS TITLE
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#cluster_name = '' # added to process titles if nonempty
|
#cluster_name = '' # added to process titles if nonempty
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -480,10 +548,10 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# RUNTIME STATISTICS
|
# STATISTICS
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Query/Index Statistics Collector -
|
# - Query and Index Statistics Collector -
|
||||||
|
|
||||||
#track_activities = on
|
#track_activities = on
|
||||||
#track_counts = on
|
#track_counts = on
|
||||||
@ -493,7 +561,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#stats_temp_directory = 'pg_stat_tmp'
|
#stats_temp_directory = 'pg_stat_tmp'
|
||||||
|
|
||||||
|
|
||||||
# - Statistics Monitoring -
|
# - Monitoring -
|
||||||
|
|
||||||
#log_parser_stats = off
|
#log_parser_stats = off
|
||||||
#log_planner_stats = off
|
#log_planner_stats = off
|
||||||
@ -502,7 +570,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# AUTOVACUUM PARAMETERS
|
# AUTOVACUUM
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
||||||
@ -525,7 +593,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
||||||
# before forced vacuum
|
# before forced vacuum
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
|
||||||
# autovacuum, in milliseconds;
|
# autovacuum, in milliseconds;
|
||||||
# -1 means use vacuum_cost_delay
|
# -1 means use vacuum_cost_delay
|
||||||
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
||||||
@ -539,10 +607,22 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
# - Statement Behavior -
|
# - Statement Behavior -
|
||||||
|
|
||||||
|
#client_min_messages = notice # values in order of decreasing detail:
|
||||||
|
# debug5
|
||||||
|
# debug4
|
||||||
|
# debug3
|
||||||
|
# debug2
|
||||||
|
# debug1
|
||||||
|
# log
|
||||||
|
# notice
|
||||||
|
# warning
|
||||||
|
# error
|
||||||
#search_path = '"$user", public' # schema names
|
#search_path = '"$user", public' # schema names
|
||||||
|
#row_security = on
|
||||||
#default_tablespace = '' # a tablespace name, '' uses the default
|
#default_tablespace = '' # a tablespace name, '' uses the default
|
||||||
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
||||||
# only default tablespace
|
# only default tablespace
|
||||||
|
#default_table_access_method = 'heap'
|
||||||
#check_function_bodies = on
|
#check_function_bodies = on
|
||||||
#default_transaction_isolation = 'read committed'
|
#default_transaction_isolation = 'read committed'
|
||||||
#default_transaction_read_only = off
|
#default_transaction_read_only = off
|
||||||
@ -555,6 +635,9 @@ log_timezone = 'Europe/Prague'
|
|||||||
#vacuum_freeze_table_age = 150000000
|
#vacuum_freeze_table_age = 150000000
|
||||||
#vacuum_multixact_freeze_min_age = 5000000
|
#vacuum_multixact_freeze_min_age = 5000000
|
||||||
#vacuum_multixact_freeze_table_age = 150000000
|
#vacuum_multixact_freeze_table_age = 150000000
|
||||||
|
#vacuum_cleanup_index_scale_factor = 0.1 # fraction of total number of tuples
|
||||||
|
# before index cleanup, 0 always performs
|
||||||
|
# index cleanup
|
||||||
#bytea_output = 'hex' # hex, escape
|
#bytea_output = 'hex' # hex, escape
|
||||||
#xmlbinary = 'base64'
|
#xmlbinary = 'base64'
|
||||||
#xmloption = 'content'
|
#xmloption = 'content'
|
||||||
@ -573,7 +656,8 @@ timezone = 'Europe/Prague'
|
|||||||
# India
|
# India
|
||||||
# You can create your own file in
|
# You can create your own file in
|
||||||
# share/timezonesets/.
|
# share/timezonesets/.
|
||||||
#extra_float_digits = 0 # min -15, max 3
|
#extra_float_digits = 1 # min -15, max 3; any value >0 actually
|
||||||
|
# selects precise output mode
|
||||||
#client_encoding = sql_ascii # actually, defaults to database
|
#client_encoding = sql_ascii # actually, defaults to database
|
||||||
# encoding
|
# encoding
|
||||||
|
|
||||||
@ -587,11 +671,16 @@ lc_time = 'C' # locale for time formatting
|
|||||||
# default configuration for text search
|
# default configuration for text search
|
||||||
default_text_search_config = 'pg_catalog.english'
|
default_text_search_config = 'pg_catalog.english'
|
||||||
|
|
||||||
|
# - Shared Library Preloading -
|
||||||
|
|
||||||
|
#shared_preload_libraries = '' # (change requires restart)
|
||||||
|
#local_preload_libraries = ''
|
||||||
|
#session_preload_libraries = ''
|
||||||
|
#jit_provider = 'llvmjit' # JIT library to use
|
||||||
|
|
||||||
# - Other Defaults -
|
# - Other Defaults -
|
||||||
|
|
||||||
#dynamic_library_path = '$libdir'
|
#dynamic_library_path = '$libdir'
|
||||||
#local_preload_libraries = ''
|
|
||||||
#session_preload_libraries = ''
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -610,14 +699,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# VERSION/PLATFORM COMPATIBILITY
|
# VERSION AND PLATFORM COMPATIBILITY
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Previous PostgreSQL Versions -
|
# - Previous PostgreSQL Versions -
|
||||||
|
|
||||||
#array_nulls = on
|
#array_nulls = on
|
||||||
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
||||||
#default_with_oids = off
|
|
||||||
#escape_string_warning = on
|
#escape_string_warning = on
|
||||||
#lo_compat_privileges = off
|
#lo_compat_privileges = off
|
||||||
#operator_precedence_warning = off
|
#operator_precedence_warning = off
|
||||||
@ -636,6 +724,9 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
#exit_on_error = off # terminate session on any error?
|
#exit_on_error = off # terminate session on any error?
|
||||||
#restart_after_crash = on # reinitialize after backend crash?
|
#restart_after_crash = on # reinitialize after backend crash?
|
||||||
|
#data_sync_retry = off # retry or panic on failure to fsync
|
||||||
|
# data?
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -643,12 +734,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# These options allow settings to be loaded from files other than the
|
# These options allow settings to be loaded from files other than the
|
||||||
# default postgresql.conf.
|
# default postgresql.conf. Note that these are directives, not variable
|
||||||
|
# assignments, so they can usefully be given more than once.
|
||||||
|
|
||||||
#include_dir = 'conf.d' # include files ending in '.conf' from
|
#include_dir = '...' # include files ending in '.conf' from
|
||||||
# directory 'conf.d'
|
# a directory, e.g., 'conf.d'
|
||||||
#include_if_exists = 'exists.conf' # include file only if it exists
|
#include_if_exists = '...' # include file only if it exists
|
||||||
#include = 'special.conf' # include file
|
#include = '...' # include file
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
@ -73,27 +73,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
#bonjour_name = '' # defaults to the computer name
|
#bonjour_name = '' # defaults to the computer name
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Security and Authentication -
|
# - TCP settings -
|
||||||
|
|
||||||
#authentication_timeout = 1min # 1s-600s
|
|
||||||
#ssl = off
|
|
||||||
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
||||||
#ssl_prefer_server_ciphers = on
|
|
||||||
#ssl_ecdh_curve = 'prime256v1'
|
|
||||||
#ssl_dh_params_file = ''
|
|
||||||
#ssl_cert_file = 'server.crt'
|
|
||||||
#ssl_key_file = 'server.key'
|
|
||||||
#ssl_ca_file = ''
|
|
||||||
#ssl_crl_file = ''
|
|
||||||
#password_encryption = md5 # md5 or scram-sha-256
|
|
||||||
#db_user_namespace = off
|
|
||||||
#row_security = on
|
|
||||||
|
|
||||||
# GSSAPI using Kerberos
|
|
||||||
#krb_server_keyfile = ''
|
|
||||||
#krb_caseins_users = off
|
|
||||||
|
|
||||||
# - TCP Keepalives -
|
|
||||||
# see "man 7 tcp" for details
|
# see "man 7 tcp" for details
|
||||||
|
|
||||||
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
||||||
@ -102,6 +82,34 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
|
#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
|
||||||
|
# 0 selects the system default
|
||||||
|
|
||||||
|
# - Authentication -
|
||||||
|
|
||||||
|
#authentication_timeout = 1min # 1s-600s
|
||||||
|
#password_encryption = md5 # md5 or scram-sha-256
|
||||||
|
#db_user_namespace = off
|
||||||
|
|
||||||
|
# GSSAPI using Kerberos
|
||||||
|
#krb_server_keyfile = ''
|
||||||
|
#krb_caseins_users = off
|
||||||
|
|
||||||
|
# - SSL -
|
||||||
|
|
||||||
|
#ssl = off
|
||||||
|
#ssl_ca_file = ''
|
||||||
|
#ssl_cert_file = 'server.crt'
|
||||||
|
#ssl_crl_file = ''
|
||||||
|
#ssl_key_file = 'server.key'
|
||||||
|
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
||||||
|
#ssl_prefer_server_ciphers = on
|
||||||
|
#ssl_ecdh_curve = 'prime256v1'
|
||||||
|
#ssl_min_protocol_version = 'TLSv1'
|
||||||
|
#ssl_max_protocol_version = ''
|
||||||
|
#ssl_dh_params_file = ''
|
||||||
|
#ssl_passphrase_command = ''
|
||||||
|
#ssl_passphrase_command_supports_reload = off
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -110,7 +118,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
|
|
||||||
# - Memory -
|
# - Memory -
|
||||||
|
|
||||||
shared_buffers = 192MB # min 128kB
|
shared_buffers = 128MB # min 128kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#huge_pages = try # on, off, or try
|
#huge_pages = try # on, off, or try
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -121,16 +129,20 @@ shared_buffers = 192MB # min 128kB
|
|||||||
# you actively intend to use prepared transactions.
|
# you actively intend to use prepared transactions.
|
||||||
#work_mem = 4MB # min 64kB
|
#work_mem = 4MB # min 64kB
|
||||||
#maintenance_work_mem = 64MB # min 1MB
|
#maintenance_work_mem = 64MB # min 1MB
|
||||||
#replacement_sort_tuples = 150000 # limits use of replacement selection sort
|
|
||||||
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
||||||
#max_stack_depth = 2MB # min 100kB
|
#max_stack_depth = 2MB # min 100kB
|
||||||
|
#shared_memory_type = mmap # the default is the first option
|
||||||
|
# supported by the operating system:
|
||||||
|
# mmap
|
||||||
|
# sysv
|
||||||
|
# windows
|
||||||
|
# (change requires restart)
|
||||||
dynamic_shared_memory_type = posix # the default is the first option
|
dynamic_shared_memory_type = posix # the default is the first option
|
||||||
# supported by the operating system:
|
# supported by the operating system:
|
||||||
# posix
|
# posix
|
||||||
# sysv
|
# sysv
|
||||||
# windows
|
# windows
|
||||||
# mmap
|
# mmap
|
||||||
# use none to disable dynamic shared memory
|
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Disk -
|
# - Disk -
|
||||||
@ -138,15 +150,14 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
#temp_file_limit = -1 # limits per-process temp file space
|
#temp_file_limit = -1 # limits per-process temp file space
|
||||||
# in kB, or -1 for no limit
|
# in kB, or -1 for no limit
|
||||||
|
|
||||||
# - Kernel Resource Usage -
|
# - Kernel Resources -
|
||||||
|
|
||||||
#max_files_per_process = 1000 # min 25
|
#max_files_per_process = 1000 # min 25
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#shared_preload_libraries = '' # (change requires restart)
|
|
||||||
|
|
||||||
# - Cost-Based Vacuum Delay -
|
# - Cost-Based Vacuum Delay -
|
||||||
|
|
||||||
#vacuum_cost_delay = 0 # 0-100 milliseconds
|
#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
|
||||||
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
||||||
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
||||||
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
||||||
@ -155,7 +166,7 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
# - Background Writer -
|
# - Background Writer -
|
||||||
|
|
||||||
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
||||||
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
|
#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
|
||||||
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
||||||
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
||||||
|
|
||||||
@ -163,16 +174,18 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
|
|
||||||
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
||||||
#max_worker_processes = 8 # (change requires restart)
|
#max_worker_processes = 8 # (change requires restart)
|
||||||
|
#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
|
||||||
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
||||||
|
#parallel_leader_participation = on
|
||||||
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
||||||
# can be used in parallel queries
|
# can be used in parallel operations
|
||||||
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#backend_flush_after = 0 # measured in pages, 0 disables
|
#backend_flush_after = 0 # measured in pages, 0 disables
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# WRITE AHEAD LOG
|
# WRITE-AHEAD LOG
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Settings -
|
# - Settings -
|
||||||
@ -180,8 +193,8 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
wal_level = minimal # minimal, replica, or logical
|
wal_level = minimal # minimal, replica, or logical
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#fsync = on # flush data to disk for crash safety
|
#fsync = on # flush data to disk for crash safety
|
||||||
# (turning this off can cause
|
# (turning this off can cause
|
||||||
# unrecoverable data corruption)
|
# unrecoverable data corruption)
|
||||||
#synchronous_commit = on # synchronization level;
|
#synchronous_commit = on # synchronization level;
|
||||||
# off, local, remote_write, remote_apply, or on
|
# off, local, remote_write, remote_apply, or on
|
||||||
#wal_sync_method = fsync # the default is the first option
|
#wal_sync_method = fsync # the default is the first option
|
||||||
@ -195,6 +208,8 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#wal_compression = off # enable compression of full-page writes
|
#wal_compression = off # enable compression of full-page writes
|
||||||
#wal_log_hints = off # also do full page writes of non-critical updates
|
#wal_log_hints = off # also do full page writes of non-critical updates
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
#wal_init_zero = on # zero-fill new WAL files
|
||||||
|
#wal_recycle = on # recycle WAL files
|
||||||
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
||||||
@ -223,18 +238,54 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#archive_timeout = 0 # force a logfile segment switch after this
|
#archive_timeout = 0 # force a logfile segment switch after this
|
||||||
# number of seconds; 0 disables
|
# number of seconds; 0 disables
|
||||||
|
|
||||||
|
# - Archive Recovery -
|
||||||
|
|
||||||
|
# These are only used in recovery mode.
|
||||||
|
|
||||||
|
#restore_command = '' # command to use to restore an archived logfile segment
|
||||||
|
# placeholders: %p = path of file to restore
|
||||||
|
# %f = file name only
|
||||||
|
# e.g. 'cp /mnt/server/archivedir/%f %p'
|
||||||
|
# (change requires restart)
|
||||||
|
#archive_cleanup_command = '' # command to execute at every restartpoint
|
||||||
|
#recovery_end_command = '' # command to execute at completion of recovery
|
||||||
|
|
||||||
|
# - Recovery Target -
|
||||||
|
|
||||||
|
# Set these only when performing a targeted recovery.
|
||||||
|
|
||||||
|
#recovery_target = '' # 'immediate' to end recovery as soon as a
|
||||||
|
# consistent state is reached
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_name = '' # the named restore point to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_time = '' # the time stamp up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_inclusive = on # Specifies whether to stop:
|
||||||
|
# just after the specified recovery target (on)
|
||||||
|
# just before the recovery target (off)
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# REPLICATION
|
# REPLICATION
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Sending Server(s) -
|
# - Sending Servers -
|
||||||
|
|
||||||
# Set these on the master and on any standby that will send replication data.
|
# Set these on the master and on any standby that will send replication data.
|
||||||
|
|
||||||
max_wal_senders = 0 # max number of walsender processes
|
max_wal_senders = 0 # max number of walsender processes
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
#wal_keep_segments = 0 # in logfile segments; 0 disables
|
||||||
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
||||||
|
|
||||||
max_replication_slots = 0 # max number of replication slots
|
max_replication_slots = 0 # max number of replication slots
|
||||||
@ -256,6 +307,11 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
|
|
||||||
# These settings are ignored on a master server.
|
# These settings are ignored on a master server.
|
||||||
|
|
||||||
|
#primary_conninfo = '' # connection string to sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#primary_slot_name = '' # replication slot on sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#promote_trigger_file = '' # file name whose presence ends recovery
|
||||||
#hot_standby = on # "off" disallows queries during recovery
|
#hot_standby = on # "off" disallows queries during recovery
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#max_standby_archive_delay = 30s # max delay before canceling queries
|
#max_standby_archive_delay = 30s # max delay before canceling queries
|
||||||
@ -273,6 +329,7 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
# in milliseconds; 0 disables
|
# in milliseconds; 0 disables
|
||||||
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
||||||
# retrieve WAL after a failed attempt
|
# retrieve WAL after a failed attempt
|
||||||
|
#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
|
||||||
|
|
||||||
# - Subscribers -
|
# - Subscribers -
|
||||||
|
|
||||||
@ -297,9 +354,14 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#enable_material = on
|
#enable_material = on
|
||||||
#enable_mergejoin = on
|
#enable_mergejoin = on
|
||||||
#enable_nestloop = on
|
#enable_nestloop = on
|
||||||
|
#enable_parallel_append = on
|
||||||
#enable_seqscan = on
|
#enable_seqscan = on
|
||||||
#enable_sort = on
|
#enable_sort = on
|
||||||
#enable_tidscan = on
|
#enable_tidscan = on
|
||||||
|
#enable_partitionwise_join = off
|
||||||
|
#enable_partitionwise_aggregate = off
|
||||||
|
#enable_parallel_hash = on
|
||||||
|
#enable_partition_pruning = on
|
||||||
|
|
||||||
# - Planner Cost Constants -
|
# - Planner Cost Constants -
|
||||||
|
|
||||||
@ -310,6 +372,16 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#cpu_operator_cost = 0.0025 # same scale as above
|
#cpu_operator_cost = 0.0025 # same scale as above
|
||||||
#parallel_tuple_cost = 0.1 # same scale as above
|
#parallel_tuple_cost = 0.1 # same scale as above
|
||||||
#parallel_setup_cost = 1000.0 # same scale as above
|
#parallel_setup_cost = 1000.0 # same scale as above
|
||||||
|
|
||||||
|
#jit_above_cost = 100000 # perform JIT compilation if available
|
||||||
|
# and query more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
#jit_inline_above_cost = 500000 # inline small functions if query is
|
||||||
|
# more expensive than this; -1 disables
|
||||||
|
#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
|
||||||
|
# query is more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
|
||||||
#min_parallel_table_scan_size = 8MB
|
#min_parallel_table_scan_size = 8MB
|
||||||
#min_parallel_index_scan_size = 512kB
|
#min_parallel_index_scan_size = 512kB
|
||||||
#effective_cache_size = 4GB
|
#effective_cache_size = 4GB
|
||||||
@ -333,10 +405,13 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
||||||
# JOIN clauses
|
# JOIN clauses
|
||||||
#force_parallel_mode = off
|
#force_parallel_mode = off
|
||||||
|
#jit = on # allow JIT compilation
|
||||||
|
#plan_cache_mode = auto # auto, force_generic_plan or
|
||||||
|
# force_custom_plan
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# ERROR REPORTING AND LOGGING
|
# REPORTING AND LOGGING
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Where to Log -
|
# - Where to Log -
|
||||||
@ -385,17 +460,6 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
|
|
||||||
# - When to Log -
|
# - When to Log -
|
||||||
|
|
||||||
#client_min_messages = notice # values in order of decreasing detail:
|
|
||||||
# debug5
|
|
||||||
# debug4
|
|
||||||
# debug3
|
|
||||||
# debug2
|
|
||||||
# debug1
|
|
||||||
# log
|
|
||||||
# notice
|
|
||||||
# warning
|
|
||||||
# error
|
|
||||||
|
|
||||||
#log_min_messages = warning # values in order of decreasing detail:
|
#log_min_messages = warning # values in order of decreasing detail:
|
||||||
# debug5
|
# debug5
|
||||||
# debug4
|
# debug4
|
||||||
@ -429,6 +493,9 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
# statements running at least this number
|
# statements running at least this number
|
||||||
# of milliseconds
|
# of milliseconds
|
||||||
|
|
||||||
|
#log_transaction_sample_rate = 0.0 # Fraction of transactions whose statements
|
||||||
|
# are logged regardless of their duration. 1.0 logs all
|
||||||
|
# statements from all transactions, 0.0 never logs.
|
||||||
|
|
||||||
# - What to Log -
|
# - What to Log -
|
||||||
|
|
||||||
@ -464,15 +531,16 @@ log_line_prefix = '%m [%p] %q%u@%d ' # special values:
|
|||||||
# %% = '%'
|
# %% = '%'
|
||||||
# e.g. '<%u%%%d> '
|
# e.g. '<%u%%%d> '
|
||||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||||
#log_statement = 'all' # none, ddl, mod, all
|
#log_statement = 'none' # none, ddl, mod, all
|
||||||
#log_replication_commands = off
|
#log_replication_commands = off
|
||||||
#log_temp_files = -1 # log temporary files equal or larger
|
#log_temp_files = -1 # log temporary files equal or larger
|
||||||
# than the specified size in kilobytes;
|
# than the specified size in kilobytes;
|
||||||
# -1 disables, 0 logs all temp files
|
# -1 disables, 0 logs all temp files
|
||||||
log_timezone = 'Europe/Prague'
|
log_timezone = 'Europe/Prague'
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
# - Process Title -
|
# PROCESS TITLE
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#cluster_name = '' # added to process titles if nonempty
|
#cluster_name = '' # added to process titles if nonempty
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -480,10 +548,10 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# RUNTIME STATISTICS
|
# STATISTICS
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Query/Index Statistics Collector -
|
# - Query and Index Statistics Collector -
|
||||||
|
|
||||||
#track_activities = on
|
#track_activities = on
|
||||||
#track_counts = on
|
#track_counts = on
|
||||||
@ -493,7 +561,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#stats_temp_directory = 'pg_stat_tmp'
|
#stats_temp_directory = 'pg_stat_tmp'
|
||||||
|
|
||||||
|
|
||||||
# - Statistics Monitoring -
|
# - Monitoring -
|
||||||
|
|
||||||
#log_parser_stats = off
|
#log_parser_stats = off
|
||||||
#log_planner_stats = off
|
#log_planner_stats = off
|
||||||
@ -502,7 +570,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# AUTOVACUUM PARAMETERS
|
# AUTOVACUUM
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
||||||
@ -525,7 +593,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
||||||
# before forced vacuum
|
# before forced vacuum
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
|
||||||
# autovacuum, in milliseconds;
|
# autovacuum, in milliseconds;
|
||||||
# -1 means use vacuum_cost_delay
|
# -1 means use vacuum_cost_delay
|
||||||
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
||||||
@ -539,10 +607,22 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
# - Statement Behavior -
|
# - Statement Behavior -
|
||||||
|
|
||||||
|
#client_min_messages = notice # values in order of decreasing detail:
|
||||||
|
# debug5
|
||||||
|
# debug4
|
||||||
|
# debug3
|
||||||
|
# debug2
|
||||||
|
# debug1
|
||||||
|
# log
|
||||||
|
# notice
|
||||||
|
# warning
|
||||||
|
# error
|
||||||
#search_path = '"$user", public' # schema names
|
#search_path = '"$user", public' # schema names
|
||||||
|
#row_security = on
|
||||||
#default_tablespace = '' # a tablespace name, '' uses the default
|
#default_tablespace = '' # a tablespace name, '' uses the default
|
||||||
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
||||||
# only default tablespace
|
# only default tablespace
|
||||||
|
#default_table_access_method = 'heap'
|
||||||
#check_function_bodies = on
|
#check_function_bodies = on
|
||||||
#default_transaction_isolation = 'read committed'
|
#default_transaction_isolation = 'read committed'
|
||||||
#default_transaction_read_only = off
|
#default_transaction_read_only = off
|
||||||
@ -555,6 +635,9 @@ log_timezone = 'Europe/Prague'
|
|||||||
#vacuum_freeze_table_age = 150000000
|
#vacuum_freeze_table_age = 150000000
|
||||||
#vacuum_multixact_freeze_min_age = 5000000
|
#vacuum_multixact_freeze_min_age = 5000000
|
||||||
#vacuum_multixact_freeze_table_age = 150000000
|
#vacuum_multixact_freeze_table_age = 150000000
|
||||||
|
#vacuum_cleanup_index_scale_factor = 0.1 # fraction of total number of tuples
|
||||||
|
# before index cleanup, 0 always performs
|
||||||
|
# index cleanup
|
||||||
#bytea_output = 'hex' # hex, escape
|
#bytea_output = 'hex' # hex, escape
|
||||||
#xmlbinary = 'base64'
|
#xmlbinary = 'base64'
|
||||||
#xmloption = 'content'
|
#xmloption = 'content'
|
||||||
@ -573,7 +656,8 @@ timezone = 'Europe/Prague'
|
|||||||
# India
|
# India
|
||||||
# You can create your own file in
|
# You can create your own file in
|
||||||
# share/timezonesets/.
|
# share/timezonesets/.
|
||||||
#extra_float_digits = 0 # min -15, max 3
|
#extra_float_digits = 1 # min -15, max 3; any value >0 actually
|
||||||
|
# selects precise output mode
|
||||||
#client_encoding = sql_ascii # actually, defaults to database
|
#client_encoding = sql_ascii # actually, defaults to database
|
||||||
# encoding
|
# encoding
|
||||||
|
|
||||||
@ -587,11 +671,16 @@ lc_time = 'C' # locale for time formatting
|
|||||||
# default configuration for text search
|
# default configuration for text search
|
||||||
default_text_search_config = 'pg_catalog.english'
|
default_text_search_config = 'pg_catalog.english'
|
||||||
|
|
||||||
|
# - Shared Library Preloading -
|
||||||
|
|
||||||
|
#shared_preload_libraries = '' # (change requires restart)
|
||||||
|
#local_preload_libraries = ''
|
||||||
|
#session_preload_libraries = ''
|
||||||
|
#jit_provider = 'llvmjit' # JIT library to use
|
||||||
|
|
||||||
# - Other Defaults -
|
# - Other Defaults -
|
||||||
|
|
||||||
#dynamic_library_path = '$libdir'
|
#dynamic_library_path = '$libdir'
|
||||||
#local_preload_libraries = ''
|
|
||||||
#session_preload_libraries = ''
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -610,14 +699,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# VERSION/PLATFORM COMPATIBILITY
|
# VERSION AND PLATFORM COMPATIBILITY
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Previous PostgreSQL Versions -
|
# - Previous PostgreSQL Versions -
|
||||||
|
|
||||||
#array_nulls = on
|
#array_nulls = on
|
||||||
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
||||||
#default_with_oids = off
|
|
||||||
#escape_string_warning = on
|
#escape_string_warning = on
|
||||||
#lo_compat_privileges = off
|
#lo_compat_privileges = off
|
||||||
#operator_precedence_warning = off
|
#operator_precedence_warning = off
|
||||||
@ -636,6 +724,9 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
#exit_on_error = off # terminate session on any error?
|
#exit_on_error = off # terminate session on any error?
|
||||||
#restart_after_crash = on # reinitialize after backend crash?
|
#restart_after_crash = on # reinitialize after backend crash?
|
||||||
|
#data_sync_retry = off # retry or panic on failure to fsync
|
||||||
|
# data?
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -643,12 +734,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# These options allow settings to be loaded from files other than the
|
# These options allow settings to be loaded from files other than the
|
||||||
# default postgresql.conf.
|
# default postgresql.conf. Note that these are directives, not variable
|
||||||
|
# assignments, so they can usefully be given more than once.
|
||||||
|
|
||||||
#include_dir = 'conf.d' # include files ending in '.conf' from
|
#include_dir = '...' # include files ending in '.conf' from
|
||||||
# directory 'conf.d'
|
# a directory, e.g., 'conf.d'
|
||||||
#include_if_exists = 'exists.conf' # include file only if it exists
|
#include_if_exists = '...' # include file only if it exists
|
||||||
#include = 'special.conf' # include file
|
#include = '...' # include file
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
@ -73,27 +73,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
#bonjour_name = '' # defaults to the computer name
|
#bonjour_name = '' # defaults to the computer name
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Security and Authentication -
|
# - TCP settings -
|
||||||
|
|
||||||
#authentication_timeout = 1min # 1s-600s
|
|
||||||
#ssl = off
|
|
||||||
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
||||||
#ssl_prefer_server_ciphers = on
|
|
||||||
#ssl_ecdh_curve = 'prime256v1'
|
|
||||||
#ssl_dh_params_file = ''
|
|
||||||
#ssl_cert_file = 'server.crt'
|
|
||||||
#ssl_key_file = 'server.key'
|
|
||||||
#ssl_ca_file = ''
|
|
||||||
#ssl_crl_file = ''
|
|
||||||
#password_encryption = md5 # md5 or scram-sha-256
|
|
||||||
#db_user_namespace = off
|
|
||||||
#row_security = on
|
|
||||||
|
|
||||||
# GSSAPI using Kerberos
|
|
||||||
#krb_server_keyfile = ''
|
|
||||||
#krb_caseins_users = off
|
|
||||||
|
|
||||||
# - TCP Keepalives -
|
|
||||||
# see "man 7 tcp" for details
|
# see "man 7 tcp" for details
|
||||||
|
|
||||||
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
||||||
@ -102,6 +82,34 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
|
#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
|
||||||
|
# 0 selects the system default
|
||||||
|
|
||||||
|
# - Authentication -
|
||||||
|
|
||||||
|
#authentication_timeout = 1min # 1s-600s
|
||||||
|
#password_encryption = md5 # md5 or scram-sha-256
|
||||||
|
#db_user_namespace = off
|
||||||
|
|
||||||
|
# GSSAPI using Kerberos
|
||||||
|
#krb_server_keyfile = ''
|
||||||
|
#krb_caseins_users = off
|
||||||
|
|
||||||
|
# - SSL -
|
||||||
|
|
||||||
|
#ssl = off
|
||||||
|
#ssl_ca_file = ''
|
||||||
|
#ssl_cert_file = 'server.crt'
|
||||||
|
#ssl_crl_file = ''
|
||||||
|
#ssl_key_file = 'server.key'
|
||||||
|
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
||||||
|
#ssl_prefer_server_ciphers = on
|
||||||
|
#ssl_ecdh_curve = 'prime256v1'
|
||||||
|
#ssl_min_protocol_version = 'TLSv1'
|
||||||
|
#ssl_max_protocol_version = ''
|
||||||
|
#ssl_dh_params_file = ''
|
||||||
|
#ssl_passphrase_command = ''
|
||||||
|
#ssl_passphrase_command_supports_reload = off
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -110,7 +118,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
|
|
||||||
# - Memory -
|
# - Memory -
|
||||||
|
|
||||||
shared_buffers = 192MB # min 128kB
|
shared_buffers = 128MB # min 128kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#huge_pages = try # on, off, or try
|
#huge_pages = try # on, off, or try
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -121,16 +129,20 @@ shared_buffers = 192MB # min 128kB
|
|||||||
# you actively intend to use prepared transactions.
|
# you actively intend to use prepared transactions.
|
||||||
#work_mem = 4MB # min 64kB
|
#work_mem = 4MB # min 64kB
|
||||||
#maintenance_work_mem = 64MB # min 1MB
|
#maintenance_work_mem = 64MB # min 1MB
|
||||||
#replacement_sort_tuples = 150000 # limits use of replacement selection sort
|
|
||||||
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
||||||
#max_stack_depth = 2MB # min 100kB
|
#max_stack_depth = 2MB # min 100kB
|
||||||
|
#shared_memory_type = mmap # the default is the first option
|
||||||
|
# supported by the operating system:
|
||||||
|
# mmap
|
||||||
|
# sysv
|
||||||
|
# windows
|
||||||
|
# (change requires restart)
|
||||||
dynamic_shared_memory_type = posix # the default is the first option
|
dynamic_shared_memory_type = posix # the default is the first option
|
||||||
# supported by the operating system:
|
# supported by the operating system:
|
||||||
# posix
|
# posix
|
||||||
# sysv
|
# sysv
|
||||||
# windows
|
# windows
|
||||||
# mmap
|
# mmap
|
||||||
# use none to disable dynamic shared memory
|
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Disk -
|
# - Disk -
|
||||||
@ -138,15 +150,14 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
#temp_file_limit = -1 # limits per-process temp file space
|
#temp_file_limit = -1 # limits per-process temp file space
|
||||||
# in kB, or -1 for no limit
|
# in kB, or -1 for no limit
|
||||||
|
|
||||||
# - Kernel Resource Usage -
|
# - Kernel Resources -
|
||||||
|
|
||||||
#max_files_per_process = 1000 # min 25
|
#max_files_per_process = 1000 # min 25
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#shared_preload_libraries = '' # (change requires restart)
|
|
||||||
|
|
||||||
# - Cost-Based Vacuum Delay -
|
# - Cost-Based Vacuum Delay -
|
||||||
|
|
||||||
#vacuum_cost_delay = 0 # 0-100 milliseconds
|
#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
|
||||||
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
||||||
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
||||||
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
||||||
@ -155,7 +166,7 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
# - Background Writer -
|
# - Background Writer -
|
||||||
|
|
||||||
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
||||||
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
|
#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
|
||||||
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
||||||
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
||||||
|
|
||||||
@ -163,16 +174,18 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
|
|
||||||
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
||||||
#max_worker_processes = 8 # (change requires restart)
|
#max_worker_processes = 8 # (change requires restart)
|
||||||
|
#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
|
||||||
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
||||||
|
#parallel_leader_participation = on
|
||||||
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
||||||
# can be used in parallel queries
|
# can be used in parallel operations
|
||||||
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#backend_flush_after = 0 # measured in pages, 0 disables
|
#backend_flush_after = 0 # measured in pages, 0 disables
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# WRITE AHEAD LOG
|
# WRITE-AHEAD LOG
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Settings -
|
# - Settings -
|
||||||
@ -180,8 +193,8 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
wal_level = minimal # minimal, replica, or logical
|
wal_level = minimal # minimal, replica, or logical
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#fsync = on # flush data to disk for crash safety
|
#fsync = on # flush data to disk for crash safety
|
||||||
# (turning this off can cause
|
# (turning this off can cause
|
||||||
# unrecoverable data corruption)
|
# unrecoverable data corruption)
|
||||||
#synchronous_commit = on # synchronization level;
|
#synchronous_commit = on # synchronization level;
|
||||||
# off, local, remote_write, remote_apply, or on
|
# off, local, remote_write, remote_apply, or on
|
||||||
#wal_sync_method = fsync # the default is the first option
|
#wal_sync_method = fsync # the default is the first option
|
||||||
@ -195,6 +208,8 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#wal_compression = off # enable compression of full-page writes
|
#wal_compression = off # enable compression of full-page writes
|
||||||
#wal_log_hints = off # also do full page writes of non-critical updates
|
#wal_log_hints = off # also do full page writes of non-critical updates
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
#wal_init_zero = on # zero-fill new WAL files
|
||||||
|
#wal_recycle = on # recycle WAL files
|
||||||
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
||||||
@ -223,18 +238,54 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#archive_timeout = 0 # force a logfile segment switch after this
|
#archive_timeout = 0 # force a logfile segment switch after this
|
||||||
# number of seconds; 0 disables
|
# number of seconds; 0 disables
|
||||||
|
|
||||||
|
# - Archive Recovery -
|
||||||
|
|
||||||
|
# These are only used in recovery mode.
|
||||||
|
|
||||||
|
#restore_command = '' # command to use to restore an archived logfile segment
|
||||||
|
# placeholders: %p = path of file to restore
|
||||||
|
# %f = file name only
|
||||||
|
# e.g. 'cp /mnt/server/archivedir/%f %p'
|
||||||
|
# (change requires restart)
|
||||||
|
#archive_cleanup_command = '' # command to execute at every restartpoint
|
||||||
|
#recovery_end_command = '' # command to execute at completion of recovery
|
||||||
|
|
||||||
|
# - Recovery Target -
|
||||||
|
|
||||||
|
# Set these only when performing a targeted recovery.
|
||||||
|
|
||||||
|
#recovery_target = '' # 'immediate' to end recovery as soon as a
|
||||||
|
# consistent state is reached
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_name = '' # the named restore point to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_time = '' # the time stamp up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_inclusive = on # Specifies whether to stop:
|
||||||
|
# just after the specified recovery target (on)
|
||||||
|
# just before the recovery target (off)
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# REPLICATION
|
# REPLICATION
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Sending Server(s) -
|
# - Sending Servers -
|
||||||
|
|
||||||
# Set these on the master and on any standby that will send replication data.
|
# Set these on the master and on any standby that will send replication data.
|
||||||
|
|
||||||
max_wal_senders = 0 # max number of walsender processes
|
max_wal_senders = 0 # max number of walsender processes
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
#wal_keep_segments = 0 # in logfile segments; 0 disables
|
||||||
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
||||||
|
|
||||||
max_replication_slots = 0 # max number of replication slots
|
max_replication_slots = 0 # max number of replication slots
|
||||||
@ -256,6 +307,11 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
|
|
||||||
# These settings are ignored on a master server.
|
# These settings are ignored on a master server.
|
||||||
|
|
||||||
|
#primary_conninfo = '' # connection string to sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#primary_slot_name = '' # replication slot on sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#promote_trigger_file = '' # file name whose presence ends recovery
|
||||||
#hot_standby = on # "off" disallows queries during recovery
|
#hot_standby = on # "off" disallows queries during recovery
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#max_standby_archive_delay = 30s # max delay before canceling queries
|
#max_standby_archive_delay = 30s # max delay before canceling queries
|
||||||
@ -273,6 +329,7 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
# in milliseconds; 0 disables
|
# in milliseconds; 0 disables
|
||||||
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
||||||
# retrieve WAL after a failed attempt
|
# retrieve WAL after a failed attempt
|
||||||
|
#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
|
||||||
|
|
||||||
# - Subscribers -
|
# - Subscribers -
|
||||||
|
|
||||||
@ -297,9 +354,14 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#enable_material = on
|
#enable_material = on
|
||||||
#enable_mergejoin = on
|
#enable_mergejoin = on
|
||||||
#enable_nestloop = on
|
#enable_nestloop = on
|
||||||
|
#enable_parallel_append = on
|
||||||
#enable_seqscan = on
|
#enable_seqscan = on
|
||||||
#enable_sort = on
|
#enable_sort = on
|
||||||
#enable_tidscan = on
|
#enable_tidscan = on
|
||||||
|
#enable_partitionwise_join = off
|
||||||
|
#enable_partitionwise_aggregate = off
|
||||||
|
#enable_parallel_hash = on
|
||||||
|
#enable_partition_pruning = on
|
||||||
|
|
||||||
# - Planner Cost Constants -
|
# - Planner Cost Constants -
|
||||||
|
|
||||||
@ -310,6 +372,16 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#cpu_operator_cost = 0.0025 # same scale as above
|
#cpu_operator_cost = 0.0025 # same scale as above
|
||||||
#parallel_tuple_cost = 0.1 # same scale as above
|
#parallel_tuple_cost = 0.1 # same scale as above
|
||||||
#parallel_setup_cost = 1000.0 # same scale as above
|
#parallel_setup_cost = 1000.0 # same scale as above
|
||||||
|
|
||||||
|
#jit_above_cost = 100000 # perform JIT compilation if available
|
||||||
|
# and query more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
#jit_inline_above_cost = 500000 # inline small functions if query is
|
||||||
|
# more expensive than this; -1 disables
|
||||||
|
#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
|
||||||
|
# query is more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
|
||||||
#min_parallel_table_scan_size = 8MB
|
#min_parallel_table_scan_size = 8MB
|
||||||
#min_parallel_index_scan_size = 512kB
|
#min_parallel_index_scan_size = 512kB
|
||||||
#effective_cache_size = 4GB
|
#effective_cache_size = 4GB
|
||||||
@ -333,10 +405,13 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
||||||
# JOIN clauses
|
# JOIN clauses
|
||||||
#force_parallel_mode = off
|
#force_parallel_mode = off
|
||||||
|
#jit = on # allow JIT compilation
|
||||||
|
#plan_cache_mode = auto # auto, force_generic_plan or
|
||||||
|
# force_custom_plan
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# ERROR REPORTING AND LOGGING
|
# REPORTING AND LOGGING
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Where to Log -
|
# - Where to Log -
|
||||||
@ -385,17 +460,6 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
|
|
||||||
# - When to Log -
|
# - When to Log -
|
||||||
|
|
||||||
#client_min_messages = notice # values in order of decreasing detail:
|
|
||||||
# debug5
|
|
||||||
# debug4
|
|
||||||
# debug3
|
|
||||||
# debug2
|
|
||||||
# debug1
|
|
||||||
# log
|
|
||||||
# notice
|
|
||||||
# warning
|
|
||||||
# error
|
|
||||||
|
|
||||||
#log_min_messages = warning # values in order of decreasing detail:
|
#log_min_messages = warning # values in order of decreasing detail:
|
||||||
# debug5
|
# debug5
|
||||||
# debug4
|
# debug4
|
||||||
@ -429,6 +493,9 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
# statements running at least this number
|
# statements running at least this number
|
||||||
# of milliseconds
|
# of milliseconds
|
||||||
|
|
||||||
|
#log_transaction_sample_rate = 0.0 # Fraction of transactions whose statements
|
||||||
|
# are logged regardless of their duration. 1.0 logs all
|
||||||
|
# statements from all transactions, 0.0 never logs.
|
||||||
|
|
||||||
# - What to Log -
|
# - What to Log -
|
||||||
|
|
||||||
@ -464,15 +531,16 @@ log_line_prefix = '%m [%p] %q%u@%d ' # special values:
|
|||||||
# %% = '%'
|
# %% = '%'
|
||||||
# e.g. '<%u%%%d> '
|
# e.g. '<%u%%%d> '
|
||||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||||
#log_statement = 'all' # none, ddl, mod, all
|
#log_statement = 'none' # none, ddl, mod, all
|
||||||
#log_replication_commands = off
|
#log_replication_commands = off
|
||||||
#log_temp_files = -1 # log temporary files equal or larger
|
#log_temp_files = -1 # log temporary files equal or larger
|
||||||
# than the specified size in kilobytes;
|
# than the specified size in kilobytes;
|
||||||
# -1 disables, 0 logs all temp files
|
# -1 disables, 0 logs all temp files
|
||||||
log_timezone = 'Europe/Prague'
|
log_timezone = 'Europe/Prague'
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
# - Process Title -
|
# PROCESS TITLE
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#cluster_name = '' # added to process titles if nonempty
|
#cluster_name = '' # added to process titles if nonempty
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -480,10 +548,10 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# RUNTIME STATISTICS
|
# STATISTICS
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Query/Index Statistics Collector -
|
# - Query and Index Statistics Collector -
|
||||||
|
|
||||||
#track_activities = on
|
#track_activities = on
|
||||||
#track_counts = on
|
#track_counts = on
|
||||||
@ -493,7 +561,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#stats_temp_directory = 'pg_stat_tmp'
|
#stats_temp_directory = 'pg_stat_tmp'
|
||||||
|
|
||||||
|
|
||||||
# - Statistics Monitoring -
|
# - Monitoring -
|
||||||
|
|
||||||
#log_parser_stats = off
|
#log_parser_stats = off
|
||||||
#log_planner_stats = off
|
#log_planner_stats = off
|
||||||
@ -502,7 +570,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# AUTOVACUUM PARAMETERS
|
# AUTOVACUUM
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
||||||
@ -525,7 +593,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
||||||
# before forced vacuum
|
# before forced vacuum
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
|
||||||
# autovacuum, in milliseconds;
|
# autovacuum, in milliseconds;
|
||||||
# -1 means use vacuum_cost_delay
|
# -1 means use vacuum_cost_delay
|
||||||
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
||||||
@ -539,10 +607,22 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
# - Statement Behavior -
|
# - Statement Behavior -
|
||||||
|
|
||||||
|
#client_min_messages = notice # values in order of decreasing detail:
|
||||||
|
# debug5
|
||||||
|
# debug4
|
||||||
|
# debug3
|
||||||
|
# debug2
|
||||||
|
# debug1
|
||||||
|
# log
|
||||||
|
# notice
|
||||||
|
# warning
|
||||||
|
# error
|
||||||
#search_path = '"$user", public' # schema names
|
#search_path = '"$user", public' # schema names
|
||||||
|
#row_security = on
|
||||||
#default_tablespace = '' # a tablespace name, '' uses the default
|
#default_tablespace = '' # a tablespace name, '' uses the default
|
||||||
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
||||||
# only default tablespace
|
# only default tablespace
|
||||||
|
#default_table_access_method = 'heap'
|
||||||
#check_function_bodies = on
|
#check_function_bodies = on
|
||||||
#default_transaction_isolation = 'read committed'
|
#default_transaction_isolation = 'read committed'
|
||||||
#default_transaction_read_only = off
|
#default_transaction_read_only = off
|
||||||
@ -555,6 +635,9 @@ log_timezone = 'Europe/Prague'
|
|||||||
#vacuum_freeze_table_age = 150000000
|
#vacuum_freeze_table_age = 150000000
|
||||||
#vacuum_multixact_freeze_min_age = 5000000
|
#vacuum_multixact_freeze_min_age = 5000000
|
||||||
#vacuum_multixact_freeze_table_age = 150000000
|
#vacuum_multixact_freeze_table_age = 150000000
|
||||||
|
#vacuum_cleanup_index_scale_factor = 0.1 # fraction of total number of tuples
|
||||||
|
# before index cleanup, 0 always performs
|
||||||
|
# index cleanup
|
||||||
#bytea_output = 'hex' # hex, escape
|
#bytea_output = 'hex' # hex, escape
|
||||||
#xmlbinary = 'base64'
|
#xmlbinary = 'base64'
|
||||||
#xmloption = 'content'
|
#xmloption = 'content'
|
||||||
@ -573,7 +656,8 @@ timezone = 'Europe/Prague'
|
|||||||
# India
|
# India
|
||||||
# You can create your own file in
|
# You can create your own file in
|
||||||
# share/timezonesets/.
|
# share/timezonesets/.
|
||||||
#extra_float_digits = 0 # min -15, max 3
|
#extra_float_digits = 1 # min -15, max 3; any value >0 actually
|
||||||
|
# selects precise output mode
|
||||||
#client_encoding = sql_ascii # actually, defaults to database
|
#client_encoding = sql_ascii # actually, defaults to database
|
||||||
# encoding
|
# encoding
|
||||||
|
|
||||||
@ -587,11 +671,16 @@ lc_time = 'C' # locale for time formatting
|
|||||||
# default configuration for text search
|
# default configuration for text search
|
||||||
default_text_search_config = 'pg_catalog.english'
|
default_text_search_config = 'pg_catalog.english'
|
||||||
|
|
||||||
|
# - Shared Library Preloading -
|
||||||
|
|
||||||
|
#shared_preload_libraries = '' # (change requires restart)
|
||||||
|
#local_preload_libraries = ''
|
||||||
|
#session_preload_libraries = ''
|
||||||
|
#jit_provider = 'llvmjit' # JIT library to use
|
||||||
|
|
||||||
# - Other Defaults -
|
# - Other Defaults -
|
||||||
|
|
||||||
#dynamic_library_path = '$libdir'
|
#dynamic_library_path = '$libdir'
|
||||||
#local_preload_libraries = ''
|
|
||||||
#session_preload_libraries = ''
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -610,14 +699,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# VERSION/PLATFORM COMPATIBILITY
|
# VERSION AND PLATFORM COMPATIBILITY
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Previous PostgreSQL Versions -
|
# - Previous PostgreSQL Versions -
|
||||||
|
|
||||||
#array_nulls = on
|
#array_nulls = on
|
||||||
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
||||||
#default_with_oids = off
|
|
||||||
#escape_string_warning = on
|
#escape_string_warning = on
|
||||||
#lo_compat_privileges = off
|
#lo_compat_privileges = off
|
||||||
#operator_precedence_warning = off
|
#operator_precedence_warning = off
|
||||||
@ -636,6 +724,9 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
#exit_on_error = off # terminate session on any error?
|
#exit_on_error = off # terminate session on any error?
|
||||||
#restart_after_crash = on # reinitialize after backend crash?
|
#restart_after_crash = on # reinitialize after backend crash?
|
||||||
|
#data_sync_retry = off # retry or panic on failure to fsync
|
||||||
|
# data?
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -643,12 +734,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# These options allow settings to be loaded from files other than the
|
# These options allow settings to be loaded from files other than the
|
||||||
# default postgresql.conf.
|
# default postgresql.conf. Note that these are directives, not variable
|
||||||
|
# assignments, so they can usefully be given more than once.
|
||||||
|
|
||||||
#include_dir = 'conf.d' # include files ending in '.conf' from
|
#include_dir = '...' # include files ending in '.conf' from
|
||||||
# directory 'conf.d'
|
# a directory, e.g., 'conf.d'
|
||||||
#include_if_exists = 'exists.conf' # include file only if it exists
|
#include_if_exists = '...' # include file only if it exists
|
||||||
#include = 'special.conf' # include file
|
#include = '...' # include file
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
@ -73,27 +73,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
#bonjour_name = '' # defaults to the computer name
|
#bonjour_name = '' # defaults to the computer name
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Security and Authentication -
|
# - TCP settings -
|
||||||
|
|
||||||
#authentication_timeout = 1min # 1s-600s
|
|
||||||
#ssl = off
|
|
||||||
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
||||||
#ssl_prefer_server_ciphers = on
|
|
||||||
#ssl_ecdh_curve = 'prime256v1'
|
|
||||||
#ssl_dh_params_file = ''
|
|
||||||
#ssl_cert_file = 'server.crt'
|
|
||||||
#ssl_key_file = 'server.key'
|
|
||||||
#ssl_ca_file = ''
|
|
||||||
#ssl_crl_file = ''
|
|
||||||
#password_encryption = md5 # md5 or scram-sha-256
|
|
||||||
#db_user_namespace = off
|
|
||||||
#row_security = on
|
|
||||||
|
|
||||||
# GSSAPI using Kerberos
|
|
||||||
#krb_server_keyfile = ''
|
|
||||||
#krb_caseins_users = off
|
|
||||||
|
|
||||||
# - TCP Keepalives -
|
|
||||||
# see "man 7 tcp" for details
|
# see "man 7 tcp" for details
|
||||||
|
|
||||||
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
||||||
@ -102,6 +82,34 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
|
#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
|
||||||
|
# 0 selects the system default
|
||||||
|
|
||||||
|
# - Authentication -
|
||||||
|
|
||||||
|
#authentication_timeout = 1min # 1s-600s
|
||||||
|
#password_encryption = md5 # md5 or scram-sha-256
|
||||||
|
#db_user_namespace = off
|
||||||
|
|
||||||
|
# GSSAPI using Kerberos
|
||||||
|
#krb_server_keyfile = ''
|
||||||
|
#krb_caseins_users = off
|
||||||
|
|
||||||
|
# - SSL -
|
||||||
|
|
||||||
|
#ssl = off
|
||||||
|
#ssl_ca_file = ''
|
||||||
|
#ssl_cert_file = 'server.crt'
|
||||||
|
#ssl_crl_file = ''
|
||||||
|
#ssl_key_file = 'server.key'
|
||||||
|
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
||||||
|
#ssl_prefer_server_ciphers = on
|
||||||
|
#ssl_ecdh_curve = 'prime256v1'
|
||||||
|
#ssl_min_protocol_version = 'TLSv1'
|
||||||
|
#ssl_max_protocol_version = ''
|
||||||
|
#ssl_dh_params_file = ''
|
||||||
|
#ssl_passphrase_command = ''
|
||||||
|
#ssl_passphrase_command_supports_reload = off
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -110,7 +118,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
|
|
||||||
# - Memory -
|
# - Memory -
|
||||||
|
|
||||||
shared_buffers = 192MB # min 128kB
|
shared_buffers = 128MB # min 128kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#huge_pages = try # on, off, or try
|
#huge_pages = try # on, off, or try
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -121,16 +129,20 @@ shared_buffers = 192MB # min 128kB
|
|||||||
# you actively intend to use prepared transactions.
|
# you actively intend to use prepared transactions.
|
||||||
#work_mem = 4MB # min 64kB
|
#work_mem = 4MB # min 64kB
|
||||||
#maintenance_work_mem = 64MB # min 1MB
|
#maintenance_work_mem = 64MB # min 1MB
|
||||||
#replacement_sort_tuples = 150000 # limits use of replacement selection sort
|
|
||||||
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
||||||
#max_stack_depth = 2MB # min 100kB
|
#max_stack_depth = 2MB # min 100kB
|
||||||
|
#shared_memory_type = mmap # the default is the first option
|
||||||
|
# supported by the operating system:
|
||||||
|
# mmap
|
||||||
|
# sysv
|
||||||
|
# windows
|
||||||
|
# (change requires restart)
|
||||||
dynamic_shared_memory_type = posix # the default is the first option
|
dynamic_shared_memory_type = posix # the default is the first option
|
||||||
# supported by the operating system:
|
# supported by the operating system:
|
||||||
# posix
|
# posix
|
||||||
# sysv
|
# sysv
|
||||||
# windows
|
# windows
|
||||||
# mmap
|
# mmap
|
||||||
# use none to disable dynamic shared memory
|
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Disk -
|
# - Disk -
|
||||||
@ -138,15 +150,14 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
#temp_file_limit = -1 # limits per-process temp file space
|
#temp_file_limit = -1 # limits per-process temp file space
|
||||||
# in kB, or -1 for no limit
|
# in kB, or -1 for no limit
|
||||||
|
|
||||||
# - Kernel Resource Usage -
|
# - Kernel Resources -
|
||||||
|
|
||||||
#max_files_per_process = 1000 # min 25
|
#max_files_per_process = 1000 # min 25
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#shared_preload_libraries = '' # (change requires restart)
|
|
||||||
|
|
||||||
# - Cost-Based Vacuum Delay -
|
# - Cost-Based Vacuum Delay -
|
||||||
|
|
||||||
#vacuum_cost_delay = 0 # 0-100 milliseconds
|
#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
|
||||||
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
||||||
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
||||||
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
||||||
@ -155,7 +166,7 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
# - Background Writer -
|
# - Background Writer -
|
||||||
|
|
||||||
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
||||||
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
|
#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
|
||||||
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
||||||
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
||||||
|
|
||||||
@ -163,16 +174,18 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
|
|
||||||
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
||||||
#max_worker_processes = 8 # (change requires restart)
|
#max_worker_processes = 8 # (change requires restart)
|
||||||
|
#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
|
||||||
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
||||||
|
#parallel_leader_participation = on
|
||||||
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
||||||
# can be used in parallel queries
|
# can be used in parallel operations
|
||||||
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#backend_flush_after = 0 # measured in pages, 0 disables
|
#backend_flush_after = 0 # measured in pages, 0 disables
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# WRITE AHEAD LOG
|
# WRITE-AHEAD LOG
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Settings -
|
# - Settings -
|
||||||
@ -180,8 +193,8 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
wal_level = minimal # minimal, replica, or logical
|
wal_level = minimal # minimal, replica, or logical
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#fsync = on # flush data to disk for crash safety
|
#fsync = on # flush data to disk for crash safety
|
||||||
# (turning this off can cause
|
# (turning this off can cause
|
||||||
# unrecoverable data corruption)
|
# unrecoverable data corruption)
|
||||||
#synchronous_commit = on # synchronization level;
|
#synchronous_commit = on # synchronization level;
|
||||||
# off, local, remote_write, remote_apply, or on
|
# off, local, remote_write, remote_apply, or on
|
||||||
#wal_sync_method = fsync # the default is the first option
|
#wal_sync_method = fsync # the default is the first option
|
||||||
@ -195,6 +208,8 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#wal_compression = off # enable compression of full-page writes
|
#wal_compression = off # enable compression of full-page writes
|
||||||
#wal_log_hints = off # also do full page writes of non-critical updates
|
#wal_log_hints = off # also do full page writes of non-critical updates
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
#wal_init_zero = on # zero-fill new WAL files
|
||||||
|
#wal_recycle = on # recycle WAL files
|
||||||
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
||||||
@ -223,18 +238,54 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#archive_timeout = 0 # force a logfile segment switch after this
|
#archive_timeout = 0 # force a logfile segment switch after this
|
||||||
# number of seconds; 0 disables
|
# number of seconds; 0 disables
|
||||||
|
|
||||||
|
# - Archive Recovery -
|
||||||
|
|
||||||
|
# These are only used in recovery mode.
|
||||||
|
|
||||||
|
#restore_command = '' # command to use to restore an archived logfile segment
|
||||||
|
# placeholders: %p = path of file to restore
|
||||||
|
# %f = file name only
|
||||||
|
# e.g. 'cp /mnt/server/archivedir/%f %p'
|
||||||
|
# (change requires restart)
|
||||||
|
#archive_cleanup_command = '' # command to execute at every restartpoint
|
||||||
|
#recovery_end_command = '' # command to execute at completion of recovery
|
||||||
|
|
||||||
|
# - Recovery Target -
|
||||||
|
|
||||||
|
# Set these only when performing a targeted recovery.
|
||||||
|
|
||||||
|
#recovery_target = '' # 'immediate' to end recovery as soon as a
|
||||||
|
# consistent state is reached
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_name = '' # the named restore point to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_time = '' # the time stamp up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_inclusive = on # Specifies whether to stop:
|
||||||
|
# just after the specified recovery target (on)
|
||||||
|
# just before the recovery target (off)
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# REPLICATION
|
# REPLICATION
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Sending Server(s) -
|
# - Sending Servers -
|
||||||
|
|
||||||
# Set these on the master and on any standby that will send replication data.
|
# Set these on the master and on any standby that will send replication data.
|
||||||
|
|
||||||
max_wal_senders = 0 # max number of walsender processes
|
max_wal_senders = 0 # max number of walsender processes
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
#wal_keep_segments = 0 # in logfile segments; 0 disables
|
||||||
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
||||||
|
|
||||||
max_replication_slots = 0 # max number of replication slots
|
max_replication_slots = 0 # max number of replication slots
|
||||||
@ -256,6 +307,11 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
|
|
||||||
# These settings are ignored on a master server.
|
# These settings are ignored on a master server.
|
||||||
|
|
||||||
|
#primary_conninfo = '' # connection string to sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#primary_slot_name = '' # replication slot on sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#promote_trigger_file = '' # file name whose presence ends recovery
|
||||||
#hot_standby = on # "off" disallows queries during recovery
|
#hot_standby = on # "off" disallows queries during recovery
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#max_standby_archive_delay = 30s # max delay before canceling queries
|
#max_standby_archive_delay = 30s # max delay before canceling queries
|
||||||
@ -273,6 +329,7 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
# in milliseconds; 0 disables
|
# in milliseconds; 0 disables
|
||||||
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
||||||
# retrieve WAL after a failed attempt
|
# retrieve WAL after a failed attempt
|
||||||
|
#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
|
||||||
|
|
||||||
# - Subscribers -
|
# - Subscribers -
|
||||||
|
|
||||||
@ -297,9 +354,14 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#enable_material = on
|
#enable_material = on
|
||||||
#enable_mergejoin = on
|
#enable_mergejoin = on
|
||||||
#enable_nestloop = on
|
#enable_nestloop = on
|
||||||
|
#enable_parallel_append = on
|
||||||
#enable_seqscan = on
|
#enable_seqscan = on
|
||||||
#enable_sort = on
|
#enable_sort = on
|
||||||
#enable_tidscan = on
|
#enable_tidscan = on
|
||||||
|
#enable_partitionwise_join = off
|
||||||
|
#enable_partitionwise_aggregate = off
|
||||||
|
#enable_parallel_hash = on
|
||||||
|
#enable_partition_pruning = on
|
||||||
|
|
||||||
# - Planner Cost Constants -
|
# - Planner Cost Constants -
|
||||||
|
|
||||||
@ -310,6 +372,16 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#cpu_operator_cost = 0.0025 # same scale as above
|
#cpu_operator_cost = 0.0025 # same scale as above
|
||||||
#parallel_tuple_cost = 0.1 # same scale as above
|
#parallel_tuple_cost = 0.1 # same scale as above
|
||||||
#parallel_setup_cost = 1000.0 # same scale as above
|
#parallel_setup_cost = 1000.0 # same scale as above
|
||||||
|
|
||||||
|
#jit_above_cost = 100000 # perform JIT compilation if available
|
||||||
|
# and query more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
#jit_inline_above_cost = 500000 # inline small functions if query is
|
||||||
|
# more expensive than this; -1 disables
|
||||||
|
#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
|
||||||
|
# query is more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
|
||||||
#min_parallel_table_scan_size = 8MB
|
#min_parallel_table_scan_size = 8MB
|
||||||
#min_parallel_index_scan_size = 512kB
|
#min_parallel_index_scan_size = 512kB
|
||||||
#effective_cache_size = 4GB
|
#effective_cache_size = 4GB
|
||||||
@ -333,10 +405,13 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
||||||
# JOIN clauses
|
# JOIN clauses
|
||||||
#force_parallel_mode = off
|
#force_parallel_mode = off
|
||||||
|
#jit = on # allow JIT compilation
|
||||||
|
#plan_cache_mode = auto # auto, force_generic_plan or
|
||||||
|
# force_custom_plan
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# ERROR REPORTING AND LOGGING
|
# REPORTING AND LOGGING
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Where to Log -
|
# - Where to Log -
|
||||||
@ -385,17 +460,6 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
|
|
||||||
# - When to Log -
|
# - When to Log -
|
||||||
|
|
||||||
#client_min_messages = notice # values in order of decreasing detail:
|
|
||||||
# debug5
|
|
||||||
# debug4
|
|
||||||
# debug3
|
|
||||||
# debug2
|
|
||||||
# debug1
|
|
||||||
# log
|
|
||||||
# notice
|
|
||||||
# warning
|
|
||||||
# error
|
|
||||||
|
|
||||||
#log_min_messages = warning # values in order of decreasing detail:
|
#log_min_messages = warning # values in order of decreasing detail:
|
||||||
# debug5
|
# debug5
|
||||||
# debug4
|
# debug4
|
||||||
@ -429,6 +493,9 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
# statements running at least this number
|
# statements running at least this number
|
||||||
# of milliseconds
|
# of milliseconds
|
||||||
|
|
||||||
|
#log_transaction_sample_rate = 0.0 # Fraction of transactions whose statements
|
||||||
|
# are logged regardless of their duration. 1.0 logs all
|
||||||
|
# statements from all transactions, 0.0 never logs.
|
||||||
|
|
||||||
# - What to Log -
|
# - What to Log -
|
||||||
|
|
||||||
@ -464,15 +531,16 @@ log_line_prefix = '%m [%p] %q%u@%d ' # special values:
|
|||||||
# %% = '%'
|
# %% = '%'
|
||||||
# e.g. '<%u%%%d> '
|
# e.g. '<%u%%%d> '
|
||||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||||
#log_statement = 'all' # none, ddl, mod, all
|
#log_statement = 'none' # none, ddl, mod, all
|
||||||
#log_replication_commands = off
|
#log_replication_commands = off
|
||||||
#log_temp_files = -1 # log temporary files equal or larger
|
#log_temp_files = -1 # log temporary files equal or larger
|
||||||
# than the specified size in kilobytes;
|
# than the specified size in kilobytes;
|
||||||
# -1 disables, 0 logs all temp files
|
# -1 disables, 0 logs all temp files
|
||||||
log_timezone = 'Europe/Prague'
|
log_timezone = 'Europe/Prague'
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
# - Process Title -
|
# PROCESS TITLE
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#cluster_name = '' # added to process titles if nonempty
|
#cluster_name = '' # added to process titles if nonempty
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -480,10 +548,10 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# RUNTIME STATISTICS
|
# STATISTICS
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Query/Index Statistics Collector -
|
# - Query and Index Statistics Collector -
|
||||||
|
|
||||||
#track_activities = on
|
#track_activities = on
|
||||||
#track_counts = on
|
#track_counts = on
|
||||||
@ -493,7 +561,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#stats_temp_directory = 'pg_stat_tmp'
|
#stats_temp_directory = 'pg_stat_tmp'
|
||||||
|
|
||||||
|
|
||||||
# - Statistics Monitoring -
|
# - Monitoring -
|
||||||
|
|
||||||
#log_parser_stats = off
|
#log_parser_stats = off
|
||||||
#log_planner_stats = off
|
#log_planner_stats = off
|
||||||
@ -502,7 +570,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# AUTOVACUUM PARAMETERS
|
# AUTOVACUUM
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
||||||
@ -525,7 +593,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
||||||
# before forced vacuum
|
# before forced vacuum
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
|
||||||
# autovacuum, in milliseconds;
|
# autovacuum, in milliseconds;
|
||||||
# -1 means use vacuum_cost_delay
|
# -1 means use vacuum_cost_delay
|
||||||
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
||||||
@ -539,10 +607,22 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
# - Statement Behavior -
|
# - Statement Behavior -
|
||||||
|
|
||||||
|
#client_min_messages = notice # values in order of decreasing detail:
|
||||||
|
# debug5
|
||||||
|
# debug4
|
||||||
|
# debug3
|
||||||
|
# debug2
|
||||||
|
# debug1
|
||||||
|
# log
|
||||||
|
# notice
|
||||||
|
# warning
|
||||||
|
# error
|
||||||
#search_path = '"$user", public' # schema names
|
#search_path = '"$user", public' # schema names
|
||||||
|
#row_security = on
|
||||||
#default_tablespace = '' # a tablespace name, '' uses the default
|
#default_tablespace = '' # a tablespace name, '' uses the default
|
||||||
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
||||||
# only default tablespace
|
# only default tablespace
|
||||||
|
#default_table_access_method = 'heap'
|
||||||
#check_function_bodies = on
|
#check_function_bodies = on
|
||||||
#default_transaction_isolation = 'read committed'
|
#default_transaction_isolation = 'read committed'
|
||||||
#default_transaction_read_only = off
|
#default_transaction_read_only = off
|
||||||
@ -555,6 +635,9 @@ log_timezone = 'Europe/Prague'
|
|||||||
#vacuum_freeze_table_age = 150000000
|
#vacuum_freeze_table_age = 150000000
|
||||||
#vacuum_multixact_freeze_min_age = 5000000
|
#vacuum_multixact_freeze_min_age = 5000000
|
||||||
#vacuum_multixact_freeze_table_age = 150000000
|
#vacuum_multixact_freeze_table_age = 150000000
|
||||||
|
#vacuum_cleanup_index_scale_factor = 0.1 # fraction of total number of tuples
|
||||||
|
# before index cleanup, 0 always performs
|
||||||
|
# index cleanup
|
||||||
#bytea_output = 'hex' # hex, escape
|
#bytea_output = 'hex' # hex, escape
|
||||||
#xmlbinary = 'base64'
|
#xmlbinary = 'base64'
|
||||||
#xmloption = 'content'
|
#xmloption = 'content'
|
||||||
@ -573,7 +656,8 @@ timezone = 'Europe/Prague'
|
|||||||
# India
|
# India
|
||||||
# You can create your own file in
|
# You can create your own file in
|
||||||
# share/timezonesets/.
|
# share/timezonesets/.
|
||||||
#extra_float_digits = 0 # min -15, max 3
|
#extra_float_digits = 1 # min -15, max 3; any value >0 actually
|
||||||
|
# selects precise output mode
|
||||||
#client_encoding = sql_ascii # actually, defaults to database
|
#client_encoding = sql_ascii # actually, defaults to database
|
||||||
# encoding
|
# encoding
|
||||||
|
|
||||||
@ -587,11 +671,16 @@ lc_time = 'C' # locale for time formatting
|
|||||||
# default configuration for text search
|
# default configuration for text search
|
||||||
default_text_search_config = 'pg_catalog.english'
|
default_text_search_config = 'pg_catalog.english'
|
||||||
|
|
||||||
|
# - Shared Library Preloading -
|
||||||
|
|
||||||
|
#shared_preload_libraries = '' # (change requires restart)
|
||||||
|
#local_preload_libraries = ''
|
||||||
|
#session_preload_libraries = ''
|
||||||
|
#jit_provider = 'llvmjit' # JIT library to use
|
||||||
|
|
||||||
# - Other Defaults -
|
# - Other Defaults -
|
||||||
|
|
||||||
#dynamic_library_path = '$libdir'
|
#dynamic_library_path = '$libdir'
|
||||||
#local_preload_libraries = ''
|
|
||||||
#session_preload_libraries = ''
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -610,14 +699,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# VERSION/PLATFORM COMPATIBILITY
|
# VERSION AND PLATFORM COMPATIBILITY
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Previous PostgreSQL Versions -
|
# - Previous PostgreSQL Versions -
|
||||||
|
|
||||||
#array_nulls = on
|
#array_nulls = on
|
||||||
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
||||||
#default_with_oids = off
|
|
||||||
#escape_string_warning = on
|
#escape_string_warning = on
|
||||||
#lo_compat_privileges = off
|
#lo_compat_privileges = off
|
||||||
#operator_precedence_warning = off
|
#operator_precedence_warning = off
|
||||||
@ -636,6 +724,9 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
#exit_on_error = off # terminate session on any error?
|
#exit_on_error = off # terminate session on any error?
|
||||||
#restart_after_crash = on # reinitialize after backend crash?
|
#restart_after_crash = on # reinitialize after backend crash?
|
||||||
|
#data_sync_retry = off # retry or panic on failure to fsync
|
||||||
|
# data?
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -643,12 +734,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# These options allow settings to be loaded from files other than the
|
# These options allow settings to be loaded from files other than the
|
||||||
# default postgresql.conf.
|
# default postgresql.conf. Note that these are directives, not variable
|
||||||
|
# assignments, so they can usefully be given more than once.
|
||||||
|
|
||||||
#include_dir = 'conf.d' # include files ending in '.conf' from
|
#include_dir = '...' # include files ending in '.conf' from
|
||||||
# directory 'conf.d'
|
# a directory, e.g., 'conf.d'
|
||||||
#include_if_exists = 'exists.conf' # include file only if it exists
|
#include_if_exists = '...' # include file only if it exists
|
||||||
#include = 'special.conf' # include file
|
#include = '...' # include file
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
@ -73,27 +73,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
#bonjour_name = '' # defaults to the computer name
|
#bonjour_name = '' # defaults to the computer name
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Security and Authentication -
|
# - TCP settings -
|
||||||
|
|
||||||
#authentication_timeout = 1min # 1s-600s
|
|
||||||
#ssl = off
|
|
||||||
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
||||||
#ssl_prefer_server_ciphers = on
|
|
||||||
#ssl_ecdh_curve = 'prime256v1'
|
|
||||||
#ssl_dh_params_file = ''
|
|
||||||
#ssl_cert_file = 'server.crt'
|
|
||||||
#ssl_key_file = 'server.key'
|
|
||||||
#ssl_ca_file = ''
|
|
||||||
#ssl_crl_file = ''
|
|
||||||
#password_encryption = md5 # md5 or scram-sha-256
|
|
||||||
#db_user_namespace = off
|
|
||||||
#row_security = on
|
|
||||||
|
|
||||||
# GSSAPI using Kerberos
|
|
||||||
#krb_server_keyfile = ''
|
|
||||||
#krb_caseins_users = off
|
|
||||||
|
|
||||||
# - TCP Keepalives -
|
|
||||||
# see "man 7 tcp" for details
|
# see "man 7 tcp" for details
|
||||||
|
|
||||||
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
||||||
@ -102,6 +82,34 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
|
#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
|
||||||
|
# 0 selects the system default
|
||||||
|
|
||||||
|
# - Authentication -
|
||||||
|
|
||||||
|
#authentication_timeout = 1min # 1s-600s
|
||||||
|
#password_encryption = md5 # md5 or scram-sha-256
|
||||||
|
#db_user_namespace = off
|
||||||
|
|
||||||
|
# GSSAPI using Kerberos
|
||||||
|
#krb_server_keyfile = ''
|
||||||
|
#krb_caseins_users = off
|
||||||
|
|
||||||
|
# - SSL -
|
||||||
|
|
||||||
|
#ssl = off
|
||||||
|
#ssl_ca_file = ''
|
||||||
|
#ssl_cert_file = 'server.crt'
|
||||||
|
#ssl_crl_file = ''
|
||||||
|
#ssl_key_file = 'server.key'
|
||||||
|
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
||||||
|
#ssl_prefer_server_ciphers = on
|
||||||
|
#ssl_ecdh_curve = 'prime256v1'
|
||||||
|
#ssl_min_protocol_version = 'TLSv1'
|
||||||
|
#ssl_max_protocol_version = ''
|
||||||
|
#ssl_dh_params_file = ''
|
||||||
|
#ssl_passphrase_command = ''
|
||||||
|
#ssl_passphrase_command_supports_reload = off
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -110,7 +118,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
|
|
||||||
# - Memory -
|
# - Memory -
|
||||||
|
|
||||||
shared_buffers = 192MB # min 128kB
|
shared_buffers = 128MB # min 128kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#huge_pages = try # on, off, or try
|
#huge_pages = try # on, off, or try
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -121,16 +129,20 @@ shared_buffers = 192MB # min 128kB
|
|||||||
# you actively intend to use prepared transactions.
|
# you actively intend to use prepared transactions.
|
||||||
#work_mem = 4MB # min 64kB
|
#work_mem = 4MB # min 64kB
|
||||||
#maintenance_work_mem = 64MB # min 1MB
|
#maintenance_work_mem = 64MB # min 1MB
|
||||||
#replacement_sort_tuples = 150000 # limits use of replacement selection sort
|
|
||||||
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
||||||
#max_stack_depth = 2MB # min 100kB
|
#max_stack_depth = 2MB # min 100kB
|
||||||
|
#shared_memory_type = mmap # the default is the first option
|
||||||
|
# supported by the operating system:
|
||||||
|
# mmap
|
||||||
|
# sysv
|
||||||
|
# windows
|
||||||
|
# (change requires restart)
|
||||||
dynamic_shared_memory_type = posix # the default is the first option
|
dynamic_shared_memory_type = posix # the default is the first option
|
||||||
# supported by the operating system:
|
# supported by the operating system:
|
||||||
# posix
|
# posix
|
||||||
# sysv
|
# sysv
|
||||||
# windows
|
# windows
|
||||||
# mmap
|
# mmap
|
||||||
# use none to disable dynamic shared memory
|
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Disk -
|
# - Disk -
|
||||||
@ -138,15 +150,14 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
#temp_file_limit = -1 # limits per-process temp file space
|
#temp_file_limit = -1 # limits per-process temp file space
|
||||||
# in kB, or -1 for no limit
|
# in kB, or -1 for no limit
|
||||||
|
|
||||||
# - Kernel Resource Usage -
|
# - Kernel Resources -
|
||||||
|
|
||||||
#max_files_per_process = 1000 # min 25
|
#max_files_per_process = 1000 # min 25
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#shared_preload_libraries = '' # (change requires restart)
|
|
||||||
|
|
||||||
# - Cost-Based Vacuum Delay -
|
# - Cost-Based Vacuum Delay -
|
||||||
|
|
||||||
#vacuum_cost_delay = 0 # 0-100 milliseconds
|
#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
|
||||||
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
||||||
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
||||||
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
||||||
@ -155,7 +166,7 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
# - Background Writer -
|
# - Background Writer -
|
||||||
|
|
||||||
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
||||||
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
|
#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
|
||||||
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
||||||
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
||||||
|
|
||||||
@ -163,16 +174,18 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
|
|
||||||
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
||||||
#max_worker_processes = 8 # (change requires restart)
|
#max_worker_processes = 8 # (change requires restart)
|
||||||
|
#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
|
||||||
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
||||||
|
#parallel_leader_participation = on
|
||||||
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
||||||
# can be used in parallel queries
|
# can be used in parallel operations
|
||||||
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#backend_flush_after = 0 # measured in pages, 0 disables
|
#backend_flush_after = 0 # measured in pages, 0 disables
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# WRITE AHEAD LOG
|
# WRITE-AHEAD LOG
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Settings -
|
# - Settings -
|
||||||
@ -180,8 +193,8 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
wal_level = minimal # minimal, replica, or logical
|
wal_level = minimal # minimal, replica, or logical
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#fsync = on # flush data to disk for crash safety
|
#fsync = on # flush data to disk for crash safety
|
||||||
# (turning this off can cause
|
# (turning this off can cause
|
||||||
# unrecoverable data corruption)
|
# unrecoverable data corruption)
|
||||||
#synchronous_commit = on # synchronization level;
|
#synchronous_commit = on # synchronization level;
|
||||||
# off, local, remote_write, remote_apply, or on
|
# off, local, remote_write, remote_apply, or on
|
||||||
#wal_sync_method = fsync # the default is the first option
|
#wal_sync_method = fsync # the default is the first option
|
||||||
@ -195,6 +208,8 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#wal_compression = off # enable compression of full-page writes
|
#wal_compression = off # enable compression of full-page writes
|
||||||
#wal_log_hints = off # also do full page writes of non-critical updates
|
#wal_log_hints = off # also do full page writes of non-critical updates
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
#wal_init_zero = on # zero-fill new WAL files
|
||||||
|
#wal_recycle = on # recycle WAL files
|
||||||
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
||||||
@ -223,18 +238,54 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#archive_timeout = 0 # force a logfile segment switch after this
|
#archive_timeout = 0 # force a logfile segment switch after this
|
||||||
# number of seconds; 0 disables
|
# number of seconds; 0 disables
|
||||||
|
|
||||||
|
# - Archive Recovery -
|
||||||
|
|
||||||
|
# These are only used in recovery mode.
|
||||||
|
|
||||||
|
#restore_command = '' # command to use to restore an archived logfile segment
|
||||||
|
# placeholders: %p = path of file to restore
|
||||||
|
# %f = file name only
|
||||||
|
# e.g. 'cp /mnt/server/archivedir/%f %p'
|
||||||
|
# (change requires restart)
|
||||||
|
#archive_cleanup_command = '' # command to execute at every restartpoint
|
||||||
|
#recovery_end_command = '' # command to execute at completion of recovery
|
||||||
|
|
||||||
|
# - Recovery Target -
|
||||||
|
|
||||||
|
# Set these only when performing a targeted recovery.
|
||||||
|
|
||||||
|
#recovery_target = '' # 'immediate' to end recovery as soon as a
|
||||||
|
# consistent state is reached
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_name = '' # the named restore point to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_time = '' # the time stamp up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_inclusive = on # Specifies whether to stop:
|
||||||
|
# just after the specified recovery target (on)
|
||||||
|
# just before the recovery target (off)
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# REPLICATION
|
# REPLICATION
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Sending Server(s) -
|
# - Sending Servers -
|
||||||
|
|
||||||
# Set these on the master and on any standby that will send replication data.
|
# Set these on the master and on any standby that will send replication data.
|
||||||
|
|
||||||
max_wal_senders = 0 # max number of walsender processes
|
max_wal_senders = 0 # max number of walsender processes
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
#wal_keep_segments = 0 # in logfile segments; 0 disables
|
||||||
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
||||||
|
|
||||||
max_replication_slots = 0 # max number of replication slots
|
max_replication_slots = 0 # max number of replication slots
|
||||||
@ -256,6 +307,11 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
|
|
||||||
# These settings are ignored on a master server.
|
# These settings are ignored on a master server.
|
||||||
|
|
||||||
|
#primary_conninfo = '' # connection string to sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#primary_slot_name = '' # replication slot on sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#promote_trigger_file = '' # file name whose presence ends recovery
|
||||||
#hot_standby = on # "off" disallows queries during recovery
|
#hot_standby = on # "off" disallows queries during recovery
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#max_standby_archive_delay = 30s # max delay before canceling queries
|
#max_standby_archive_delay = 30s # max delay before canceling queries
|
||||||
@ -273,6 +329,7 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
# in milliseconds; 0 disables
|
# in milliseconds; 0 disables
|
||||||
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
||||||
# retrieve WAL after a failed attempt
|
# retrieve WAL after a failed attempt
|
||||||
|
#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
|
||||||
|
|
||||||
# - Subscribers -
|
# - Subscribers -
|
||||||
|
|
||||||
@ -297,9 +354,14 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#enable_material = on
|
#enable_material = on
|
||||||
#enable_mergejoin = on
|
#enable_mergejoin = on
|
||||||
#enable_nestloop = on
|
#enable_nestloop = on
|
||||||
|
#enable_parallel_append = on
|
||||||
#enable_seqscan = on
|
#enable_seqscan = on
|
||||||
#enable_sort = on
|
#enable_sort = on
|
||||||
#enable_tidscan = on
|
#enable_tidscan = on
|
||||||
|
#enable_partitionwise_join = off
|
||||||
|
#enable_partitionwise_aggregate = off
|
||||||
|
#enable_parallel_hash = on
|
||||||
|
#enable_partition_pruning = on
|
||||||
|
|
||||||
# - Planner Cost Constants -
|
# - Planner Cost Constants -
|
||||||
|
|
||||||
@ -310,6 +372,16 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#cpu_operator_cost = 0.0025 # same scale as above
|
#cpu_operator_cost = 0.0025 # same scale as above
|
||||||
#parallel_tuple_cost = 0.1 # same scale as above
|
#parallel_tuple_cost = 0.1 # same scale as above
|
||||||
#parallel_setup_cost = 1000.0 # same scale as above
|
#parallel_setup_cost = 1000.0 # same scale as above
|
||||||
|
|
||||||
|
#jit_above_cost = 100000 # perform JIT compilation if available
|
||||||
|
# and query more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
#jit_inline_above_cost = 500000 # inline small functions if query is
|
||||||
|
# more expensive than this; -1 disables
|
||||||
|
#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
|
||||||
|
# query is more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
|
||||||
#min_parallel_table_scan_size = 8MB
|
#min_parallel_table_scan_size = 8MB
|
||||||
#min_parallel_index_scan_size = 512kB
|
#min_parallel_index_scan_size = 512kB
|
||||||
#effective_cache_size = 4GB
|
#effective_cache_size = 4GB
|
||||||
@ -333,10 +405,13 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
||||||
# JOIN clauses
|
# JOIN clauses
|
||||||
#force_parallel_mode = off
|
#force_parallel_mode = off
|
||||||
|
#jit = on # allow JIT compilation
|
||||||
|
#plan_cache_mode = auto # auto, force_generic_plan or
|
||||||
|
# force_custom_plan
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# ERROR REPORTING AND LOGGING
|
# REPORTING AND LOGGING
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Where to Log -
|
# - Where to Log -
|
||||||
@ -385,17 +460,6 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
|
|
||||||
# - When to Log -
|
# - When to Log -
|
||||||
|
|
||||||
#client_min_messages = notice # values in order of decreasing detail:
|
|
||||||
# debug5
|
|
||||||
# debug4
|
|
||||||
# debug3
|
|
||||||
# debug2
|
|
||||||
# debug1
|
|
||||||
# log
|
|
||||||
# notice
|
|
||||||
# warning
|
|
||||||
# error
|
|
||||||
|
|
||||||
#log_min_messages = warning # values in order of decreasing detail:
|
#log_min_messages = warning # values in order of decreasing detail:
|
||||||
# debug5
|
# debug5
|
||||||
# debug4
|
# debug4
|
||||||
@ -429,6 +493,9 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
# statements running at least this number
|
# statements running at least this number
|
||||||
# of milliseconds
|
# of milliseconds
|
||||||
|
|
||||||
|
#log_transaction_sample_rate = 0.0 # Fraction of transactions whose statements
|
||||||
|
# are logged regardless of their duration. 1.0 logs all
|
||||||
|
# statements from all transactions, 0.0 never logs.
|
||||||
|
|
||||||
# - What to Log -
|
# - What to Log -
|
||||||
|
|
||||||
@ -464,15 +531,16 @@ log_line_prefix = '%m [%p] %q%u@%d ' # special values:
|
|||||||
# %% = '%'
|
# %% = '%'
|
||||||
# e.g. '<%u%%%d> '
|
# e.g. '<%u%%%d> '
|
||||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||||
#log_statement = 'all' # none, ddl, mod, all
|
#log_statement = 'none' # none, ddl, mod, all
|
||||||
#log_replication_commands = off
|
#log_replication_commands = off
|
||||||
#log_temp_files = -1 # log temporary files equal or larger
|
#log_temp_files = -1 # log temporary files equal or larger
|
||||||
# than the specified size in kilobytes;
|
# than the specified size in kilobytes;
|
||||||
# -1 disables, 0 logs all temp files
|
# -1 disables, 0 logs all temp files
|
||||||
log_timezone = 'Europe/Prague'
|
log_timezone = 'Europe/Prague'
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
# - Process Title -
|
# PROCESS TITLE
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#cluster_name = '' # added to process titles if nonempty
|
#cluster_name = '' # added to process titles if nonempty
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -480,10 +548,10 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# RUNTIME STATISTICS
|
# STATISTICS
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Query/Index Statistics Collector -
|
# - Query and Index Statistics Collector -
|
||||||
|
|
||||||
#track_activities = on
|
#track_activities = on
|
||||||
#track_counts = on
|
#track_counts = on
|
||||||
@ -493,7 +561,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#stats_temp_directory = 'pg_stat_tmp'
|
#stats_temp_directory = 'pg_stat_tmp'
|
||||||
|
|
||||||
|
|
||||||
# - Statistics Monitoring -
|
# - Monitoring -
|
||||||
|
|
||||||
#log_parser_stats = off
|
#log_parser_stats = off
|
||||||
#log_planner_stats = off
|
#log_planner_stats = off
|
||||||
@ -502,7 +570,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# AUTOVACUUM PARAMETERS
|
# AUTOVACUUM
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
||||||
@ -525,7 +593,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
||||||
# before forced vacuum
|
# before forced vacuum
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
|
||||||
# autovacuum, in milliseconds;
|
# autovacuum, in milliseconds;
|
||||||
# -1 means use vacuum_cost_delay
|
# -1 means use vacuum_cost_delay
|
||||||
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
||||||
@ -539,10 +607,22 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
# - Statement Behavior -
|
# - Statement Behavior -
|
||||||
|
|
||||||
|
#client_min_messages = notice # values in order of decreasing detail:
|
||||||
|
# debug5
|
||||||
|
# debug4
|
||||||
|
# debug3
|
||||||
|
# debug2
|
||||||
|
# debug1
|
||||||
|
# log
|
||||||
|
# notice
|
||||||
|
# warning
|
||||||
|
# error
|
||||||
#search_path = '"$user", public' # schema names
|
#search_path = '"$user", public' # schema names
|
||||||
|
#row_security = on
|
||||||
#default_tablespace = '' # a tablespace name, '' uses the default
|
#default_tablespace = '' # a tablespace name, '' uses the default
|
||||||
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
||||||
# only default tablespace
|
# only default tablespace
|
||||||
|
#default_table_access_method = 'heap'
|
||||||
#check_function_bodies = on
|
#check_function_bodies = on
|
||||||
#default_transaction_isolation = 'read committed'
|
#default_transaction_isolation = 'read committed'
|
||||||
#default_transaction_read_only = off
|
#default_transaction_read_only = off
|
||||||
@ -555,6 +635,9 @@ log_timezone = 'Europe/Prague'
|
|||||||
#vacuum_freeze_table_age = 150000000
|
#vacuum_freeze_table_age = 150000000
|
||||||
#vacuum_multixact_freeze_min_age = 5000000
|
#vacuum_multixact_freeze_min_age = 5000000
|
||||||
#vacuum_multixact_freeze_table_age = 150000000
|
#vacuum_multixact_freeze_table_age = 150000000
|
||||||
|
#vacuum_cleanup_index_scale_factor = 0.1 # fraction of total number of tuples
|
||||||
|
# before index cleanup, 0 always performs
|
||||||
|
# index cleanup
|
||||||
#bytea_output = 'hex' # hex, escape
|
#bytea_output = 'hex' # hex, escape
|
||||||
#xmlbinary = 'base64'
|
#xmlbinary = 'base64'
|
||||||
#xmloption = 'content'
|
#xmloption = 'content'
|
||||||
@ -573,7 +656,8 @@ timezone = 'Europe/Prague'
|
|||||||
# India
|
# India
|
||||||
# You can create your own file in
|
# You can create your own file in
|
||||||
# share/timezonesets/.
|
# share/timezonesets/.
|
||||||
#extra_float_digits = 0 # min -15, max 3
|
#extra_float_digits = 1 # min -15, max 3; any value >0 actually
|
||||||
|
# selects precise output mode
|
||||||
#client_encoding = sql_ascii # actually, defaults to database
|
#client_encoding = sql_ascii # actually, defaults to database
|
||||||
# encoding
|
# encoding
|
||||||
|
|
||||||
@ -587,11 +671,16 @@ lc_time = 'C' # locale for time formatting
|
|||||||
# default configuration for text search
|
# default configuration for text search
|
||||||
default_text_search_config = 'pg_catalog.english'
|
default_text_search_config = 'pg_catalog.english'
|
||||||
|
|
||||||
|
# - Shared Library Preloading -
|
||||||
|
|
||||||
|
#shared_preload_libraries = '' # (change requires restart)
|
||||||
|
#local_preload_libraries = ''
|
||||||
|
#session_preload_libraries = ''
|
||||||
|
#jit_provider = 'llvmjit' # JIT library to use
|
||||||
|
|
||||||
# - Other Defaults -
|
# - Other Defaults -
|
||||||
|
|
||||||
#dynamic_library_path = '$libdir'
|
#dynamic_library_path = '$libdir'
|
||||||
#local_preload_libraries = ''
|
|
||||||
#session_preload_libraries = ''
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -610,14 +699,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# VERSION/PLATFORM COMPATIBILITY
|
# VERSION AND PLATFORM COMPATIBILITY
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Previous PostgreSQL Versions -
|
# - Previous PostgreSQL Versions -
|
||||||
|
|
||||||
#array_nulls = on
|
#array_nulls = on
|
||||||
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
||||||
#default_with_oids = off
|
|
||||||
#escape_string_warning = on
|
#escape_string_warning = on
|
||||||
#lo_compat_privileges = off
|
#lo_compat_privileges = off
|
||||||
#operator_precedence_warning = off
|
#operator_precedence_warning = off
|
||||||
@ -636,6 +724,9 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
#exit_on_error = off # terminate session on any error?
|
#exit_on_error = off # terminate session on any error?
|
||||||
#restart_after_crash = on # reinitialize after backend crash?
|
#restart_after_crash = on # reinitialize after backend crash?
|
||||||
|
#data_sync_retry = off # retry or panic on failure to fsync
|
||||||
|
# data?
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -643,12 +734,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# These options allow settings to be loaded from files other than the
|
# These options allow settings to be loaded from files other than the
|
||||||
# default postgresql.conf.
|
# default postgresql.conf. Note that these are directives, not variable
|
||||||
|
# assignments, so they can usefully be given more than once.
|
||||||
|
|
||||||
#include_dir = 'conf.d' # include files ending in '.conf' from
|
#include_dir = '...' # include files ending in '.conf' from
|
||||||
# directory 'conf.d'
|
# a directory, e.g., 'conf.d'
|
||||||
#include_if_exists = 'exists.conf' # include file only if it exists
|
#include_if_exists = '...' # include file only if it exists
|
||||||
#include = 'special.conf' # include file
|
#include = '...' # include file
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
@ -73,27 +73,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
#bonjour_name = '' # defaults to the computer name
|
#bonjour_name = '' # defaults to the computer name
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Security and Authentication -
|
# - TCP settings -
|
||||||
|
|
||||||
#authentication_timeout = 1min # 1s-600s
|
|
||||||
#ssl = off
|
|
||||||
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
||||||
#ssl_prefer_server_ciphers = on
|
|
||||||
#ssl_ecdh_curve = 'prime256v1'
|
|
||||||
#ssl_dh_params_file = ''
|
|
||||||
#ssl_cert_file = 'server.crt'
|
|
||||||
#ssl_key_file = 'server.key'
|
|
||||||
#ssl_ca_file = ''
|
|
||||||
#ssl_crl_file = ''
|
|
||||||
#password_encryption = md5 # md5 or scram-sha-256
|
|
||||||
#db_user_namespace = off
|
|
||||||
#row_security = on
|
|
||||||
|
|
||||||
# GSSAPI using Kerberos
|
|
||||||
#krb_server_keyfile = ''
|
|
||||||
#krb_caseins_users = off
|
|
||||||
|
|
||||||
# - TCP Keepalives -
|
|
||||||
# see "man 7 tcp" for details
|
# see "man 7 tcp" for details
|
||||||
|
|
||||||
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
||||||
@ -102,6 +82,34 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
|
#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
|
||||||
|
# 0 selects the system default
|
||||||
|
|
||||||
|
# - Authentication -
|
||||||
|
|
||||||
|
#authentication_timeout = 1min # 1s-600s
|
||||||
|
#password_encryption = md5 # md5 or scram-sha-256
|
||||||
|
#db_user_namespace = off
|
||||||
|
|
||||||
|
# GSSAPI using Kerberos
|
||||||
|
#krb_server_keyfile = ''
|
||||||
|
#krb_caseins_users = off
|
||||||
|
|
||||||
|
# - SSL -
|
||||||
|
|
||||||
|
#ssl = off
|
||||||
|
#ssl_ca_file = ''
|
||||||
|
#ssl_cert_file = 'server.crt'
|
||||||
|
#ssl_crl_file = ''
|
||||||
|
#ssl_key_file = 'server.key'
|
||||||
|
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
||||||
|
#ssl_prefer_server_ciphers = on
|
||||||
|
#ssl_ecdh_curve = 'prime256v1'
|
||||||
|
#ssl_min_protocol_version = 'TLSv1'
|
||||||
|
#ssl_max_protocol_version = ''
|
||||||
|
#ssl_dh_params_file = ''
|
||||||
|
#ssl_passphrase_command = ''
|
||||||
|
#ssl_passphrase_command_supports_reload = off
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -110,7 +118,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
|
|
||||||
# - Memory -
|
# - Memory -
|
||||||
|
|
||||||
shared_buffers = 192MB # min 128kB
|
shared_buffers = 128MB # min 128kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#huge_pages = try # on, off, or try
|
#huge_pages = try # on, off, or try
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -121,16 +129,20 @@ shared_buffers = 192MB # min 128kB
|
|||||||
# you actively intend to use prepared transactions.
|
# you actively intend to use prepared transactions.
|
||||||
#work_mem = 4MB # min 64kB
|
#work_mem = 4MB # min 64kB
|
||||||
#maintenance_work_mem = 64MB # min 1MB
|
#maintenance_work_mem = 64MB # min 1MB
|
||||||
#replacement_sort_tuples = 150000 # limits use of replacement selection sort
|
|
||||||
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
||||||
#max_stack_depth = 2MB # min 100kB
|
#max_stack_depth = 2MB # min 100kB
|
||||||
|
#shared_memory_type = mmap # the default is the first option
|
||||||
|
# supported by the operating system:
|
||||||
|
# mmap
|
||||||
|
# sysv
|
||||||
|
# windows
|
||||||
|
# (change requires restart)
|
||||||
dynamic_shared_memory_type = posix # the default is the first option
|
dynamic_shared_memory_type = posix # the default is the first option
|
||||||
# supported by the operating system:
|
# supported by the operating system:
|
||||||
# posix
|
# posix
|
||||||
# sysv
|
# sysv
|
||||||
# windows
|
# windows
|
||||||
# mmap
|
# mmap
|
||||||
# use none to disable dynamic shared memory
|
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Disk -
|
# - Disk -
|
||||||
@ -138,15 +150,14 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
#temp_file_limit = -1 # limits per-process temp file space
|
#temp_file_limit = -1 # limits per-process temp file space
|
||||||
# in kB, or -1 for no limit
|
# in kB, or -1 for no limit
|
||||||
|
|
||||||
# - Kernel Resource Usage -
|
# - Kernel Resources -
|
||||||
|
|
||||||
#max_files_per_process = 1000 # min 25
|
#max_files_per_process = 1000 # min 25
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#shared_preload_libraries = '' # (change requires restart)
|
|
||||||
|
|
||||||
# - Cost-Based Vacuum Delay -
|
# - Cost-Based Vacuum Delay -
|
||||||
|
|
||||||
#vacuum_cost_delay = 0 # 0-100 milliseconds
|
#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
|
||||||
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
||||||
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
||||||
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
||||||
@ -155,7 +166,7 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
# - Background Writer -
|
# - Background Writer -
|
||||||
|
|
||||||
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
||||||
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
|
#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
|
||||||
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
||||||
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
||||||
|
|
||||||
@ -163,16 +174,18 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
|
|
||||||
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
||||||
#max_worker_processes = 8 # (change requires restart)
|
#max_worker_processes = 8 # (change requires restart)
|
||||||
|
#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
|
||||||
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
||||||
|
#parallel_leader_participation = on
|
||||||
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
||||||
# can be used in parallel queries
|
# can be used in parallel operations
|
||||||
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#backend_flush_after = 0 # measured in pages, 0 disables
|
#backend_flush_after = 0 # measured in pages, 0 disables
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# WRITE AHEAD LOG
|
# WRITE-AHEAD LOG
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Settings -
|
# - Settings -
|
||||||
@ -180,8 +193,8 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
wal_level = minimal # minimal, replica, or logical
|
wal_level = minimal # minimal, replica, or logical
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#fsync = on # flush data to disk for crash safety
|
#fsync = on # flush data to disk for crash safety
|
||||||
# (turning this off can cause
|
# (turning this off can cause
|
||||||
# unrecoverable data corruption)
|
# unrecoverable data corruption)
|
||||||
#synchronous_commit = on # synchronization level;
|
#synchronous_commit = on # synchronization level;
|
||||||
# off, local, remote_write, remote_apply, or on
|
# off, local, remote_write, remote_apply, or on
|
||||||
#wal_sync_method = fsync # the default is the first option
|
#wal_sync_method = fsync # the default is the first option
|
||||||
@ -195,6 +208,8 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#wal_compression = off # enable compression of full-page writes
|
#wal_compression = off # enable compression of full-page writes
|
||||||
#wal_log_hints = off # also do full page writes of non-critical updates
|
#wal_log_hints = off # also do full page writes of non-critical updates
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
#wal_init_zero = on # zero-fill new WAL files
|
||||||
|
#wal_recycle = on # recycle WAL files
|
||||||
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
||||||
@ -223,18 +238,54 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#archive_timeout = 0 # force a logfile segment switch after this
|
#archive_timeout = 0 # force a logfile segment switch after this
|
||||||
# number of seconds; 0 disables
|
# number of seconds; 0 disables
|
||||||
|
|
||||||
|
# - Archive Recovery -
|
||||||
|
|
||||||
|
# These are only used in recovery mode.
|
||||||
|
|
||||||
|
#restore_command = '' # command to use to restore an archived logfile segment
|
||||||
|
# placeholders: %p = path of file to restore
|
||||||
|
# %f = file name only
|
||||||
|
# e.g. 'cp /mnt/server/archivedir/%f %p'
|
||||||
|
# (change requires restart)
|
||||||
|
#archive_cleanup_command = '' # command to execute at every restartpoint
|
||||||
|
#recovery_end_command = '' # command to execute at completion of recovery
|
||||||
|
|
||||||
|
# - Recovery Target -
|
||||||
|
|
||||||
|
# Set these only when performing a targeted recovery.
|
||||||
|
|
||||||
|
#recovery_target = '' # 'immediate' to end recovery as soon as a
|
||||||
|
# consistent state is reached
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_name = '' # the named restore point to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_time = '' # the time stamp up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_inclusive = on # Specifies whether to stop:
|
||||||
|
# just after the specified recovery target (on)
|
||||||
|
# just before the recovery target (off)
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# REPLICATION
|
# REPLICATION
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Sending Server(s) -
|
# - Sending Servers -
|
||||||
|
|
||||||
# Set these on the master and on any standby that will send replication data.
|
# Set these on the master and on any standby that will send replication data.
|
||||||
|
|
||||||
max_wal_senders = 0 # max number of walsender processes
|
max_wal_senders = 0 # max number of walsender processes
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
#wal_keep_segments = 0 # in logfile segments; 0 disables
|
||||||
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
||||||
|
|
||||||
max_replication_slots = 0 # max number of replication slots
|
max_replication_slots = 0 # max number of replication slots
|
||||||
@ -256,6 +307,11 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
|
|
||||||
# These settings are ignored on a master server.
|
# These settings are ignored on a master server.
|
||||||
|
|
||||||
|
#primary_conninfo = '' # connection string to sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#primary_slot_name = '' # replication slot on sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#promote_trigger_file = '' # file name whose presence ends recovery
|
||||||
#hot_standby = on # "off" disallows queries during recovery
|
#hot_standby = on # "off" disallows queries during recovery
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#max_standby_archive_delay = 30s # max delay before canceling queries
|
#max_standby_archive_delay = 30s # max delay before canceling queries
|
||||||
@ -273,6 +329,7 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
# in milliseconds; 0 disables
|
# in milliseconds; 0 disables
|
||||||
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
||||||
# retrieve WAL after a failed attempt
|
# retrieve WAL after a failed attempt
|
||||||
|
#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
|
||||||
|
|
||||||
# - Subscribers -
|
# - Subscribers -
|
||||||
|
|
||||||
@ -297,9 +354,14 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#enable_material = on
|
#enable_material = on
|
||||||
#enable_mergejoin = on
|
#enable_mergejoin = on
|
||||||
#enable_nestloop = on
|
#enable_nestloop = on
|
||||||
|
#enable_parallel_append = on
|
||||||
#enable_seqscan = on
|
#enable_seqscan = on
|
||||||
#enable_sort = on
|
#enable_sort = on
|
||||||
#enable_tidscan = on
|
#enable_tidscan = on
|
||||||
|
#enable_partitionwise_join = off
|
||||||
|
#enable_partitionwise_aggregate = off
|
||||||
|
#enable_parallel_hash = on
|
||||||
|
#enable_partition_pruning = on
|
||||||
|
|
||||||
# - Planner Cost Constants -
|
# - Planner Cost Constants -
|
||||||
|
|
||||||
@ -310,6 +372,16 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#cpu_operator_cost = 0.0025 # same scale as above
|
#cpu_operator_cost = 0.0025 # same scale as above
|
||||||
#parallel_tuple_cost = 0.1 # same scale as above
|
#parallel_tuple_cost = 0.1 # same scale as above
|
||||||
#parallel_setup_cost = 1000.0 # same scale as above
|
#parallel_setup_cost = 1000.0 # same scale as above
|
||||||
|
|
||||||
|
#jit_above_cost = 100000 # perform JIT compilation if available
|
||||||
|
# and query more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
#jit_inline_above_cost = 500000 # inline small functions if query is
|
||||||
|
# more expensive than this; -1 disables
|
||||||
|
#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
|
||||||
|
# query is more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
|
||||||
#min_parallel_table_scan_size = 8MB
|
#min_parallel_table_scan_size = 8MB
|
||||||
#min_parallel_index_scan_size = 512kB
|
#min_parallel_index_scan_size = 512kB
|
||||||
#effective_cache_size = 4GB
|
#effective_cache_size = 4GB
|
||||||
@ -333,10 +405,13 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
||||||
# JOIN clauses
|
# JOIN clauses
|
||||||
#force_parallel_mode = off
|
#force_parallel_mode = off
|
||||||
|
#jit = on # allow JIT compilation
|
||||||
|
#plan_cache_mode = auto # auto, force_generic_plan or
|
||||||
|
# force_custom_plan
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# ERROR REPORTING AND LOGGING
|
# REPORTING AND LOGGING
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Where to Log -
|
# - Where to Log -
|
||||||
@ -385,17 +460,6 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
|
|
||||||
# - When to Log -
|
# - When to Log -
|
||||||
|
|
||||||
#client_min_messages = notice # values in order of decreasing detail:
|
|
||||||
# debug5
|
|
||||||
# debug4
|
|
||||||
# debug3
|
|
||||||
# debug2
|
|
||||||
# debug1
|
|
||||||
# log
|
|
||||||
# notice
|
|
||||||
# warning
|
|
||||||
# error
|
|
||||||
|
|
||||||
#log_min_messages = warning # values in order of decreasing detail:
|
#log_min_messages = warning # values in order of decreasing detail:
|
||||||
# debug5
|
# debug5
|
||||||
# debug4
|
# debug4
|
||||||
@ -429,6 +493,9 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
# statements running at least this number
|
# statements running at least this number
|
||||||
# of milliseconds
|
# of milliseconds
|
||||||
|
|
||||||
|
#log_transaction_sample_rate = 0.0 # Fraction of transactions whose statements
|
||||||
|
# are logged regardless of their duration. 1.0 logs all
|
||||||
|
# statements from all transactions, 0.0 never logs.
|
||||||
|
|
||||||
# - What to Log -
|
# - What to Log -
|
||||||
|
|
||||||
@ -464,15 +531,16 @@ log_line_prefix = '%m [%p] %q%u@%d ' # special values:
|
|||||||
# %% = '%'
|
# %% = '%'
|
||||||
# e.g. '<%u%%%d> '
|
# e.g. '<%u%%%d> '
|
||||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||||
#log_statement = 'all' # none, ddl, mod, all
|
#log_statement = 'none' # none, ddl, mod, all
|
||||||
#log_replication_commands = off
|
#log_replication_commands = off
|
||||||
#log_temp_files = -1 # log temporary files equal or larger
|
#log_temp_files = -1 # log temporary files equal or larger
|
||||||
# than the specified size in kilobytes;
|
# than the specified size in kilobytes;
|
||||||
# -1 disables, 0 logs all temp files
|
# -1 disables, 0 logs all temp files
|
||||||
log_timezone = 'Europe/Prague'
|
log_timezone = 'Europe/Prague'
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
# - Process Title -
|
# PROCESS TITLE
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#cluster_name = '' # added to process titles if nonempty
|
#cluster_name = '' # added to process titles if nonempty
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -480,10 +548,10 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# RUNTIME STATISTICS
|
# STATISTICS
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Query/Index Statistics Collector -
|
# - Query and Index Statistics Collector -
|
||||||
|
|
||||||
#track_activities = on
|
#track_activities = on
|
||||||
#track_counts = on
|
#track_counts = on
|
||||||
@ -493,7 +561,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#stats_temp_directory = 'pg_stat_tmp'
|
#stats_temp_directory = 'pg_stat_tmp'
|
||||||
|
|
||||||
|
|
||||||
# - Statistics Monitoring -
|
# - Monitoring -
|
||||||
|
|
||||||
#log_parser_stats = off
|
#log_parser_stats = off
|
||||||
#log_planner_stats = off
|
#log_planner_stats = off
|
||||||
@ -502,7 +570,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# AUTOVACUUM PARAMETERS
|
# AUTOVACUUM
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
||||||
@ -525,7 +593,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
||||||
# before forced vacuum
|
# before forced vacuum
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
|
||||||
# autovacuum, in milliseconds;
|
# autovacuum, in milliseconds;
|
||||||
# -1 means use vacuum_cost_delay
|
# -1 means use vacuum_cost_delay
|
||||||
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
||||||
@ -539,10 +607,22 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
# - Statement Behavior -
|
# - Statement Behavior -
|
||||||
|
|
||||||
|
#client_min_messages = notice # values in order of decreasing detail:
|
||||||
|
# debug5
|
||||||
|
# debug4
|
||||||
|
# debug3
|
||||||
|
# debug2
|
||||||
|
# debug1
|
||||||
|
# log
|
||||||
|
# notice
|
||||||
|
# warning
|
||||||
|
# error
|
||||||
#search_path = '"$user", public' # schema names
|
#search_path = '"$user", public' # schema names
|
||||||
|
#row_security = on
|
||||||
#default_tablespace = '' # a tablespace name, '' uses the default
|
#default_tablespace = '' # a tablespace name, '' uses the default
|
||||||
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
||||||
# only default tablespace
|
# only default tablespace
|
||||||
|
#default_table_access_method = 'heap'
|
||||||
#check_function_bodies = on
|
#check_function_bodies = on
|
||||||
#default_transaction_isolation = 'read committed'
|
#default_transaction_isolation = 'read committed'
|
||||||
#default_transaction_read_only = off
|
#default_transaction_read_only = off
|
||||||
@ -555,6 +635,9 @@ log_timezone = 'Europe/Prague'
|
|||||||
#vacuum_freeze_table_age = 150000000
|
#vacuum_freeze_table_age = 150000000
|
||||||
#vacuum_multixact_freeze_min_age = 5000000
|
#vacuum_multixact_freeze_min_age = 5000000
|
||||||
#vacuum_multixact_freeze_table_age = 150000000
|
#vacuum_multixact_freeze_table_age = 150000000
|
||||||
|
#vacuum_cleanup_index_scale_factor = 0.1 # fraction of total number of tuples
|
||||||
|
# before index cleanup, 0 always performs
|
||||||
|
# index cleanup
|
||||||
#bytea_output = 'hex' # hex, escape
|
#bytea_output = 'hex' # hex, escape
|
||||||
#xmlbinary = 'base64'
|
#xmlbinary = 'base64'
|
||||||
#xmloption = 'content'
|
#xmloption = 'content'
|
||||||
@ -573,7 +656,8 @@ timezone = 'Europe/Prague'
|
|||||||
# India
|
# India
|
||||||
# You can create your own file in
|
# You can create your own file in
|
||||||
# share/timezonesets/.
|
# share/timezonesets/.
|
||||||
#extra_float_digits = 0 # min -15, max 3
|
#extra_float_digits = 1 # min -15, max 3; any value >0 actually
|
||||||
|
# selects precise output mode
|
||||||
#client_encoding = sql_ascii # actually, defaults to database
|
#client_encoding = sql_ascii # actually, defaults to database
|
||||||
# encoding
|
# encoding
|
||||||
|
|
||||||
@ -587,11 +671,16 @@ lc_time = 'C' # locale for time formatting
|
|||||||
# default configuration for text search
|
# default configuration for text search
|
||||||
default_text_search_config = 'pg_catalog.english'
|
default_text_search_config = 'pg_catalog.english'
|
||||||
|
|
||||||
|
# - Shared Library Preloading -
|
||||||
|
|
||||||
|
#shared_preload_libraries = '' # (change requires restart)
|
||||||
|
#local_preload_libraries = ''
|
||||||
|
#session_preload_libraries = ''
|
||||||
|
#jit_provider = 'llvmjit' # JIT library to use
|
||||||
|
|
||||||
# - Other Defaults -
|
# - Other Defaults -
|
||||||
|
|
||||||
#dynamic_library_path = '$libdir'
|
#dynamic_library_path = '$libdir'
|
||||||
#local_preload_libraries = ''
|
|
||||||
#session_preload_libraries = ''
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -610,14 +699,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# VERSION/PLATFORM COMPATIBILITY
|
# VERSION AND PLATFORM COMPATIBILITY
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Previous PostgreSQL Versions -
|
# - Previous PostgreSQL Versions -
|
||||||
|
|
||||||
#array_nulls = on
|
#array_nulls = on
|
||||||
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
||||||
#default_with_oids = off
|
|
||||||
#escape_string_warning = on
|
#escape_string_warning = on
|
||||||
#lo_compat_privileges = off
|
#lo_compat_privileges = off
|
||||||
#operator_precedence_warning = off
|
#operator_precedence_warning = off
|
||||||
@ -636,6 +724,9 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
#exit_on_error = off # terminate session on any error?
|
#exit_on_error = off # terminate session on any error?
|
||||||
#restart_after_crash = on # reinitialize after backend crash?
|
#restart_after_crash = on # reinitialize after backend crash?
|
||||||
|
#data_sync_retry = off # retry or panic on failure to fsync
|
||||||
|
# data?
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -643,12 +734,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# These options allow settings to be loaded from files other than the
|
# These options allow settings to be loaded from files other than the
|
||||||
# default postgresql.conf.
|
# default postgresql.conf. Note that these are directives, not variable
|
||||||
|
# assignments, so they can usefully be given more than once.
|
||||||
|
|
||||||
#include_dir = 'conf.d' # include files ending in '.conf' from
|
#include_dir = '...' # include files ending in '.conf' from
|
||||||
# directory 'conf.d'
|
# a directory, e.g., 'conf.d'
|
||||||
#include_if_exists = 'exists.conf' # include file only if it exists
|
#include_if_exists = '...' # include file only if it exists
|
||||||
#include = 'special.conf' # include file
|
#include = '...' # include file
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
@ -73,27 +73,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
#bonjour_name = '' # defaults to the computer name
|
#bonjour_name = '' # defaults to the computer name
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Security and Authentication -
|
# - TCP settings -
|
||||||
|
|
||||||
#authentication_timeout = 1min # 1s-600s
|
|
||||||
#ssl = off
|
|
||||||
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
||||||
#ssl_prefer_server_ciphers = on
|
|
||||||
#ssl_ecdh_curve = 'prime256v1'
|
|
||||||
#ssl_dh_params_file = ''
|
|
||||||
#ssl_cert_file = 'server.crt'
|
|
||||||
#ssl_key_file = 'server.key'
|
|
||||||
#ssl_ca_file = ''
|
|
||||||
#ssl_crl_file = ''
|
|
||||||
#password_encryption = md5 # md5 or scram-sha-256
|
|
||||||
#db_user_namespace = off
|
|
||||||
#row_security = on
|
|
||||||
|
|
||||||
# GSSAPI using Kerberos
|
|
||||||
#krb_server_keyfile = ''
|
|
||||||
#krb_caseins_users = off
|
|
||||||
|
|
||||||
# - TCP Keepalives -
|
|
||||||
# see "man 7 tcp" for details
|
# see "man 7 tcp" for details
|
||||||
|
|
||||||
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
||||||
@ -102,6 +82,34 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
|
#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
|
||||||
|
# 0 selects the system default
|
||||||
|
|
||||||
|
# - Authentication -
|
||||||
|
|
||||||
|
#authentication_timeout = 1min # 1s-600s
|
||||||
|
#password_encryption = md5 # md5 or scram-sha-256
|
||||||
|
#db_user_namespace = off
|
||||||
|
|
||||||
|
# GSSAPI using Kerberos
|
||||||
|
#krb_server_keyfile = ''
|
||||||
|
#krb_caseins_users = off
|
||||||
|
|
||||||
|
# - SSL -
|
||||||
|
|
||||||
|
#ssl = off
|
||||||
|
#ssl_ca_file = ''
|
||||||
|
#ssl_cert_file = 'server.crt'
|
||||||
|
#ssl_crl_file = ''
|
||||||
|
#ssl_key_file = 'server.key'
|
||||||
|
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
||||||
|
#ssl_prefer_server_ciphers = on
|
||||||
|
#ssl_ecdh_curve = 'prime256v1'
|
||||||
|
#ssl_min_protocol_version = 'TLSv1'
|
||||||
|
#ssl_max_protocol_version = ''
|
||||||
|
#ssl_dh_params_file = ''
|
||||||
|
#ssl_passphrase_command = ''
|
||||||
|
#ssl_passphrase_command_supports_reload = off
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -110,7 +118,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
|
|
||||||
# - Memory -
|
# - Memory -
|
||||||
|
|
||||||
shared_buffers = 192MB # min 128kB
|
shared_buffers = 128MB # min 128kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#huge_pages = try # on, off, or try
|
#huge_pages = try # on, off, or try
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -121,16 +129,20 @@ shared_buffers = 192MB # min 128kB
|
|||||||
# you actively intend to use prepared transactions.
|
# you actively intend to use prepared transactions.
|
||||||
#work_mem = 4MB # min 64kB
|
#work_mem = 4MB # min 64kB
|
||||||
#maintenance_work_mem = 64MB # min 1MB
|
#maintenance_work_mem = 64MB # min 1MB
|
||||||
#replacement_sort_tuples = 150000 # limits use of replacement selection sort
|
|
||||||
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
||||||
#max_stack_depth = 2MB # min 100kB
|
#max_stack_depth = 2MB # min 100kB
|
||||||
|
#shared_memory_type = mmap # the default is the first option
|
||||||
|
# supported by the operating system:
|
||||||
|
# mmap
|
||||||
|
# sysv
|
||||||
|
# windows
|
||||||
|
# (change requires restart)
|
||||||
dynamic_shared_memory_type = posix # the default is the first option
|
dynamic_shared_memory_type = posix # the default is the first option
|
||||||
# supported by the operating system:
|
# supported by the operating system:
|
||||||
# posix
|
# posix
|
||||||
# sysv
|
# sysv
|
||||||
# windows
|
# windows
|
||||||
# mmap
|
# mmap
|
||||||
# use none to disable dynamic shared memory
|
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Disk -
|
# - Disk -
|
||||||
@ -138,15 +150,14 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
#temp_file_limit = -1 # limits per-process temp file space
|
#temp_file_limit = -1 # limits per-process temp file space
|
||||||
# in kB, or -1 for no limit
|
# in kB, or -1 for no limit
|
||||||
|
|
||||||
# - Kernel Resource Usage -
|
# - Kernel Resources -
|
||||||
|
|
||||||
#max_files_per_process = 1000 # min 25
|
#max_files_per_process = 1000 # min 25
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#shared_preload_libraries = '' # (change requires restart)
|
|
||||||
|
|
||||||
# - Cost-Based Vacuum Delay -
|
# - Cost-Based Vacuum Delay -
|
||||||
|
|
||||||
#vacuum_cost_delay = 0 # 0-100 milliseconds
|
#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
|
||||||
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
||||||
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
||||||
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
||||||
@ -155,7 +166,7 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
# - Background Writer -
|
# - Background Writer -
|
||||||
|
|
||||||
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
||||||
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
|
#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
|
||||||
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
||||||
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
||||||
|
|
||||||
@ -163,16 +174,18 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
|
|
||||||
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
||||||
#max_worker_processes = 8 # (change requires restart)
|
#max_worker_processes = 8 # (change requires restart)
|
||||||
|
#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
|
||||||
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
||||||
|
#parallel_leader_participation = on
|
||||||
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
||||||
# can be used in parallel queries
|
# can be used in parallel operations
|
||||||
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#backend_flush_after = 0 # measured in pages, 0 disables
|
#backend_flush_after = 0 # measured in pages, 0 disables
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# WRITE AHEAD LOG
|
# WRITE-AHEAD LOG
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Settings -
|
# - Settings -
|
||||||
@ -180,8 +193,8 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
wal_level = minimal # minimal, replica, or logical
|
wal_level = minimal # minimal, replica, or logical
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#fsync = on # flush data to disk for crash safety
|
#fsync = on # flush data to disk for crash safety
|
||||||
# (turning this off can cause
|
# (turning this off can cause
|
||||||
# unrecoverable data corruption)
|
# unrecoverable data corruption)
|
||||||
#synchronous_commit = on # synchronization level;
|
#synchronous_commit = on # synchronization level;
|
||||||
# off, local, remote_write, remote_apply, or on
|
# off, local, remote_write, remote_apply, or on
|
||||||
#wal_sync_method = fsync # the default is the first option
|
#wal_sync_method = fsync # the default is the first option
|
||||||
@ -195,6 +208,8 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#wal_compression = off # enable compression of full-page writes
|
#wal_compression = off # enable compression of full-page writes
|
||||||
#wal_log_hints = off # also do full page writes of non-critical updates
|
#wal_log_hints = off # also do full page writes of non-critical updates
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
#wal_init_zero = on # zero-fill new WAL files
|
||||||
|
#wal_recycle = on # recycle WAL files
|
||||||
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
||||||
@ -223,18 +238,54 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#archive_timeout = 0 # force a logfile segment switch after this
|
#archive_timeout = 0 # force a logfile segment switch after this
|
||||||
# number of seconds; 0 disables
|
# number of seconds; 0 disables
|
||||||
|
|
||||||
|
# - Archive Recovery -
|
||||||
|
|
||||||
|
# These are only used in recovery mode.
|
||||||
|
|
||||||
|
#restore_command = '' # command to use to restore an archived logfile segment
|
||||||
|
# placeholders: %p = path of file to restore
|
||||||
|
# %f = file name only
|
||||||
|
# e.g. 'cp /mnt/server/archivedir/%f %p'
|
||||||
|
# (change requires restart)
|
||||||
|
#archive_cleanup_command = '' # command to execute at every restartpoint
|
||||||
|
#recovery_end_command = '' # command to execute at completion of recovery
|
||||||
|
|
||||||
|
# - Recovery Target -
|
||||||
|
|
||||||
|
# Set these only when performing a targeted recovery.
|
||||||
|
|
||||||
|
#recovery_target = '' # 'immediate' to end recovery as soon as a
|
||||||
|
# consistent state is reached
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_name = '' # the named restore point to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_time = '' # the time stamp up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_inclusive = on # Specifies whether to stop:
|
||||||
|
# just after the specified recovery target (on)
|
||||||
|
# just before the recovery target (off)
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# REPLICATION
|
# REPLICATION
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Sending Server(s) -
|
# - Sending Servers -
|
||||||
|
|
||||||
# Set these on the master and on any standby that will send replication data.
|
# Set these on the master and on any standby that will send replication data.
|
||||||
|
|
||||||
max_wal_senders = 0 # max number of walsender processes
|
max_wal_senders = 0 # max number of walsender processes
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
#wal_keep_segments = 0 # in logfile segments; 0 disables
|
||||||
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
||||||
|
|
||||||
max_replication_slots = 0 # max number of replication slots
|
max_replication_slots = 0 # max number of replication slots
|
||||||
@ -256,6 +307,11 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
|
|
||||||
# These settings are ignored on a master server.
|
# These settings are ignored on a master server.
|
||||||
|
|
||||||
|
#primary_conninfo = '' # connection string to sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#primary_slot_name = '' # replication slot on sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#promote_trigger_file = '' # file name whose presence ends recovery
|
||||||
#hot_standby = on # "off" disallows queries during recovery
|
#hot_standby = on # "off" disallows queries during recovery
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#max_standby_archive_delay = 30s # max delay before canceling queries
|
#max_standby_archive_delay = 30s # max delay before canceling queries
|
||||||
@ -273,6 +329,7 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
# in milliseconds; 0 disables
|
# in milliseconds; 0 disables
|
||||||
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
||||||
# retrieve WAL after a failed attempt
|
# retrieve WAL after a failed attempt
|
||||||
|
#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
|
||||||
|
|
||||||
# - Subscribers -
|
# - Subscribers -
|
||||||
|
|
||||||
@ -297,9 +354,14 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#enable_material = on
|
#enable_material = on
|
||||||
#enable_mergejoin = on
|
#enable_mergejoin = on
|
||||||
#enable_nestloop = on
|
#enable_nestloop = on
|
||||||
|
#enable_parallel_append = on
|
||||||
#enable_seqscan = on
|
#enable_seqscan = on
|
||||||
#enable_sort = on
|
#enable_sort = on
|
||||||
#enable_tidscan = on
|
#enable_tidscan = on
|
||||||
|
#enable_partitionwise_join = off
|
||||||
|
#enable_partitionwise_aggregate = off
|
||||||
|
#enable_parallel_hash = on
|
||||||
|
#enable_partition_pruning = on
|
||||||
|
|
||||||
# - Planner Cost Constants -
|
# - Planner Cost Constants -
|
||||||
|
|
||||||
@ -310,6 +372,16 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#cpu_operator_cost = 0.0025 # same scale as above
|
#cpu_operator_cost = 0.0025 # same scale as above
|
||||||
#parallel_tuple_cost = 0.1 # same scale as above
|
#parallel_tuple_cost = 0.1 # same scale as above
|
||||||
#parallel_setup_cost = 1000.0 # same scale as above
|
#parallel_setup_cost = 1000.0 # same scale as above
|
||||||
|
|
||||||
|
#jit_above_cost = 100000 # perform JIT compilation if available
|
||||||
|
# and query more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
#jit_inline_above_cost = 500000 # inline small functions if query is
|
||||||
|
# more expensive than this; -1 disables
|
||||||
|
#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
|
||||||
|
# query is more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
|
||||||
#min_parallel_table_scan_size = 8MB
|
#min_parallel_table_scan_size = 8MB
|
||||||
#min_parallel_index_scan_size = 512kB
|
#min_parallel_index_scan_size = 512kB
|
||||||
#effective_cache_size = 4GB
|
#effective_cache_size = 4GB
|
||||||
@ -333,10 +405,13 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
||||||
# JOIN clauses
|
# JOIN clauses
|
||||||
#force_parallel_mode = off
|
#force_parallel_mode = off
|
||||||
|
#jit = on # allow JIT compilation
|
||||||
|
#plan_cache_mode = auto # auto, force_generic_plan or
|
||||||
|
# force_custom_plan
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# ERROR REPORTING AND LOGGING
|
# REPORTING AND LOGGING
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Where to Log -
|
# - Where to Log -
|
||||||
@ -385,17 +460,6 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
|
|
||||||
# - When to Log -
|
# - When to Log -
|
||||||
|
|
||||||
#client_min_messages = notice # values in order of decreasing detail:
|
|
||||||
# debug5
|
|
||||||
# debug4
|
|
||||||
# debug3
|
|
||||||
# debug2
|
|
||||||
# debug1
|
|
||||||
# log
|
|
||||||
# notice
|
|
||||||
# warning
|
|
||||||
# error
|
|
||||||
|
|
||||||
#log_min_messages = warning # values in order of decreasing detail:
|
#log_min_messages = warning # values in order of decreasing detail:
|
||||||
# debug5
|
# debug5
|
||||||
# debug4
|
# debug4
|
||||||
@ -429,6 +493,9 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
# statements running at least this number
|
# statements running at least this number
|
||||||
# of milliseconds
|
# of milliseconds
|
||||||
|
|
||||||
|
#log_transaction_sample_rate = 0.0 # Fraction of transactions whose statements
|
||||||
|
# are logged regardless of their duration. 1.0 logs all
|
||||||
|
# statements from all transactions, 0.0 never logs.
|
||||||
|
|
||||||
# - What to Log -
|
# - What to Log -
|
||||||
|
|
||||||
@ -464,15 +531,16 @@ log_line_prefix = '%m [%p] %q%u@%d ' # special values:
|
|||||||
# %% = '%'
|
# %% = '%'
|
||||||
# e.g. '<%u%%%d> '
|
# e.g. '<%u%%%d> '
|
||||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||||
#log_statement = 'all' # none, ddl, mod, all
|
#log_statement = 'none' # none, ddl, mod, all
|
||||||
#log_replication_commands = off
|
#log_replication_commands = off
|
||||||
#log_temp_files = -1 # log temporary files equal or larger
|
#log_temp_files = -1 # log temporary files equal or larger
|
||||||
# than the specified size in kilobytes;
|
# than the specified size in kilobytes;
|
||||||
# -1 disables, 0 logs all temp files
|
# -1 disables, 0 logs all temp files
|
||||||
log_timezone = 'Europe/Prague'
|
log_timezone = 'Europe/Prague'
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
# - Process Title -
|
# PROCESS TITLE
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#cluster_name = '' # added to process titles if nonempty
|
#cluster_name = '' # added to process titles if nonempty
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -480,10 +548,10 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# RUNTIME STATISTICS
|
# STATISTICS
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Query/Index Statistics Collector -
|
# - Query and Index Statistics Collector -
|
||||||
|
|
||||||
#track_activities = on
|
#track_activities = on
|
||||||
#track_counts = on
|
#track_counts = on
|
||||||
@ -493,7 +561,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#stats_temp_directory = 'pg_stat_tmp'
|
#stats_temp_directory = 'pg_stat_tmp'
|
||||||
|
|
||||||
|
|
||||||
# - Statistics Monitoring -
|
# - Monitoring -
|
||||||
|
|
||||||
#log_parser_stats = off
|
#log_parser_stats = off
|
||||||
#log_planner_stats = off
|
#log_planner_stats = off
|
||||||
@ -502,7 +570,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# AUTOVACUUM PARAMETERS
|
# AUTOVACUUM
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
||||||
@ -525,7 +593,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
||||||
# before forced vacuum
|
# before forced vacuum
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
|
||||||
# autovacuum, in milliseconds;
|
# autovacuum, in milliseconds;
|
||||||
# -1 means use vacuum_cost_delay
|
# -1 means use vacuum_cost_delay
|
||||||
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
||||||
@ -539,10 +607,22 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
# - Statement Behavior -
|
# - Statement Behavior -
|
||||||
|
|
||||||
|
#client_min_messages = notice # values in order of decreasing detail:
|
||||||
|
# debug5
|
||||||
|
# debug4
|
||||||
|
# debug3
|
||||||
|
# debug2
|
||||||
|
# debug1
|
||||||
|
# log
|
||||||
|
# notice
|
||||||
|
# warning
|
||||||
|
# error
|
||||||
#search_path = '"$user", public' # schema names
|
#search_path = '"$user", public' # schema names
|
||||||
|
#row_security = on
|
||||||
#default_tablespace = '' # a tablespace name, '' uses the default
|
#default_tablespace = '' # a tablespace name, '' uses the default
|
||||||
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
||||||
# only default tablespace
|
# only default tablespace
|
||||||
|
#default_table_access_method = 'heap'
|
||||||
#check_function_bodies = on
|
#check_function_bodies = on
|
||||||
#default_transaction_isolation = 'read committed'
|
#default_transaction_isolation = 'read committed'
|
||||||
#default_transaction_read_only = off
|
#default_transaction_read_only = off
|
||||||
@ -555,6 +635,9 @@ log_timezone = 'Europe/Prague'
|
|||||||
#vacuum_freeze_table_age = 150000000
|
#vacuum_freeze_table_age = 150000000
|
||||||
#vacuum_multixact_freeze_min_age = 5000000
|
#vacuum_multixact_freeze_min_age = 5000000
|
||||||
#vacuum_multixact_freeze_table_age = 150000000
|
#vacuum_multixact_freeze_table_age = 150000000
|
||||||
|
#vacuum_cleanup_index_scale_factor = 0.1 # fraction of total number of tuples
|
||||||
|
# before index cleanup, 0 always performs
|
||||||
|
# index cleanup
|
||||||
#bytea_output = 'hex' # hex, escape
|
#bytea_output = 'hex' # hex, escape
|
||||||
#xmlbinary = 'base64'
|
#xmlbinary = 'base64'
|
||||||
#xmloption = 'content'
|
#xmloption = 'content'
|
||||||
@ -573,7 +656,8 @@ timezone = 'Europe/Prague'
|
|||||||
# India
|
# India
|
||||||
# You can create your own file in
|
# You can create your own file in
|
||||||
# share/timezonesets/.
|
# share/timezonesets/.
|
||||||
#extra_float_digits = 0 # min -15, max 3
|
#extra_float_digits = 1 # min -15, max 3; any value >0 actually
|
||||||
|
# selects precise output mode
|
||||||
#client_encoding = sql_ascii # actually, defaults to database
|
#client_encoding = sql_ascii # actually, defaults to database
|
||||||
# encoding
|
# encoding
|
||||||
|
|
||||||
@ -587,11 +671,16 @@ lc_time = 'C' # locale for time formatting
|
|||||||
# default configuration for text search
|
# default configuration for text search
|
||||||
default_text_search_config = 'pg_catalog.english'
|
default_text_search_config = 'pg_catalog.english'
|
||||||
|
|
||||||
|
# - Shared Library Preloading -
|
||||||
|
|
||||||
|
#shared_preload_libraries = '' # (change requires restart)
|
||||||
|
#local_preload_libraries = ''
|
||||||
|
#session_preload_libraries = ''
|
||||||
|
#jit_provider = 'llvmjit' # JIT library to use
|
||||||
|
|
||||||
# - Other Defaults -
|
# - Other Defaults -
|
||||||
|
|
||||||
#dynamic_library_path = '$libdir'
|
#dynamic_library_path = '$libdir'
|
||||||
#local_preload_libraries = ''
|
|
||||||
#session_preload_libraries = ''
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -610,14 +699,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# VERSION/PLATFORM COMPATIBILITY
|
# VERSION AND PLATFORM COMPATIBILITY
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Previous PostgreSQL Versions -
|
# - Previous PostgreSQL Versions -
|
||||||
|
|
||||||
#array_nulls = on
|
#array_nulls = on
|
||||||
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
||||||
#default_with_oids = off
|
|
||||||
#escape_string_warning = on
|
#escape_string_warning = on
|
||||||
#lo_compat_privileges = off
|
#lo_compat_privileges = off
|
||||||
#operator_precedence_warning = off
|
#operator_precedence_warning = off
|
||||||
@ -636,6 +724,9 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
#exit_on_error = off # terminate session on any error?
|
#exit_on_error = off # terminate session on any error?
|
||||||
#restart_after_crash = on # reinitialize after backend crash?
|
#restart_after_crash = on # reinitialize after backend crash?
|
||||||
|
#data_sync_retry = off # retry or panic on failure to fsync
|
||||||
|
# data?
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -643,12 +734,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# These options allow settings to be loaded from files other than the
|
# These options allow settings to be loaded from files other than the
|
||||||
# default postgresql.conf.
|
# default postgresql.conf. Note that these are directives, not variable
|
||||||
|
# assignments, so they can usefully be given more than once.
|
||||||
|
|
||||||
#include_dir = 'conf.d' # include files ending in '.conf' from
|
#include_dir = '...' # include files ending in '.conf' from
|
||||||
# directory 'conf.d'
|
# a directory, e.g., 'conf.d'
|
||||||
#include_if_exists = 'exists.conf' # include file only if it exists
|
#include_if_exists = '...' # include file only if it exists
|
||||||
#include = 'special.conf' # include file
|
#include = '...' # include file
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
@ -73,27 +73,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
#bonjour_name = '' # defaults to the computer name
|
#bonjour_name = '' # defaults to the computer name
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Security and Authentication -
|
# - TCP settings -
|
||||||
|
|
||||||
#authentication_timeout = 1min # 1s-600s
|
|
||||||
#ssl = off
|
|
||||||
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
||||||
#ssl_prefer_server_ciphers = on
|
|
||||||
#ssl_ecdh_curve = 'prime256v1'
|
|
||||||
#ssl_dh_params_file = ''
|
|
||||||
#ssl_cert_file = 'server.crt'
|
|
||||||
#ssl_key_file = 'server.key'
|
|
||||||
#ssl_ca_file = ''
|
|
||||||
#ssl_crl_file = ''
|
|
||||||
#password_encryption = md5 # md5 or scram-sha-256
|
|
||||||
#db_user_namespace = off
|
|
||||||
#row_security = on
|
|
||||||
|
|
||||||
# GSSAPI using Kerberos
|
|
||||||
#krb_server_keyfile = ''
|
|
||||||
#krb_caseins_users = off
|
|
||||||
|
|
||||||
# - TCP Keepalives -
|
|
||||||
# see "man 7 tcp" for details
|
# see "man 7 tcp" for details
|
||||||
|
|
||||||
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
||||||
@ -102,6 +82,34 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
|
#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
|
||||||
|
# 0 selects the system default
|
||||||
|
|
||||||
|
# - Authentication -
|
||||||
|
|
||||||
|
#authentication_timeout = 1min # 1s-600s
|
||||||
|
#password_encryption = md5 # md5 or scram-sha-256
|
||||||
|
#db_user_namespace = off
|
||||||
|
|
||||||
|
# GSSAPI using Kerberos
|
||||||
|
#krb_server_keyfile = ''
|
||||||
|
#krb_caseins_users = off
|
||||||
|
|
||||||
|
# - SSL -
|
||||||
|
|
||||||
|
#ssl = off
|
||||||
|
#ssl_ca_file = ''
|
||||||
|
#ssl_cert_file = 'server.crt'
|
||||||
|
#ssl_crl_file = ''
|
||||||
|
#ssl_key_file = 'server.key'
|
||||||
|
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
||||||
|
#ssl_prefer_server_ciphers = on
|
||||||
|
#ssl_ecdh_curve = 'prime256v1'
|
||||||
|
#ssl_min_protocol_version = 'TLSv1'
|
||||||
|
#ssl_max_protocol_version = ''
|
||||||
|
#ssl_dh_params_file = ''
|
||||||
|
#ssl_passphrase_command = ''
|
||||||
|
#ssl_passphrase_command_supports_reload = off
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -110,7 +118,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
|
|
||||||
# - Memory -
|
# - Memory -
|
||||||
|
|
||||||
shared_buffers = 192MB # min 128kB
|
shared_buffers = 128MB # min 128kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#huge_pages = try # on, off, or try
|
#huge_pages = try # on, off, or try
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -121,16 +129,20 @@ shared_buffers = 192MB # min 128kB
|
|||||||
# you actively intend to use prepared transactions.
|
# you actively intend to use prepared transactions.
|
||||||
#work_mem = 4MB # min 64kB
|
#work_mem = 4MB # min 64kB
|
||||||
#maintenance_work_mem = 64MB # min 1MB
|
#maintenance_work_mem = 64MB # min 1MB
|
||||||
#replacement_sort_tuples = 150000 # limits use of replacement selection sort
|
|
||||||
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
||||||
#max_stack_depth = 2MB # min 100kB
|
#max_stack_depth = 2MB # min 100kB
|
||||||
|
#shared_memory_type = mmap # the default is the first option
|
||||||
|
# supported by the operating system:
|
||||||
|
# mmap
|
||||||
|
# sysv
|
||||||
|
# windows
|
||||||
|
# (change requires restart)
|
||||||
dynamic_shared_memory_type = posix # the default is the first option
|
dynamic_shared_memory_type = posix # the default is the first option
|
||||||
# supported by the operating system:
|
# supported by the operating system:
|
||||||
# posix
|
# posix
|
||||||
# sysv
|
# sysv
|
||||||
# windows
|
# windows
|
||||||
# mmap
|
# mmap
|
||||||
# use none to disable dynamic shared memory
|
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Disk -
|
# - Disk -
|
||||||
@ -138,15 +150,14 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
#temp_file_limit = -1 # limits per-process temp file space
|
#temp_file_limit = -1 # limits per-process temp file space
|
||||||
# in kB, or -1 for no limit
|
# in kB, or -1 for no limit
|
||||||
|
|
||||||
# - Kernel Resource Usage -
|
# - Kernel Resources -
|
||||||
|
|
||||||
#max_files_per_process = 1000 # min 25
|
#max_files_per_process = 1000 # min 25
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#shared_preload_libraries = '' # (change requires restart)
|
|
||||||
|
|
||||||
# - Cost-Based Vacuum Delay -
|
# - Cost-Based Vacuum Delay -
|
||||||
|
|
||||||
#vacuum_cost_delay = 0 # 0-100 milliseconds
|
#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
|
||||||
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
||||||
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
||||||
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
||||||
@ -155,7 +166,7 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
# - Background Writer -
|
# - Background Writer -
|
||||||
|
|
||||||
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
||||||
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
|
#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
|
||||||
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
||||||
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
||||||
|
|
||||||
@ -163,16 +174,18 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
|
|
||||||
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
||||||
#max_worker_processes = 8 # (change requires restart)
|
#max_worker_processes = 8 # (change requires restart)
|
||||||
|
#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
|
||||||
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
||||||
|
#parallel_leader_participation = on
|
||||||
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
||||||
# can be used in parallel queries
|
# can be used in parallel operations
|
||||||
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#backend_flush_after = 0 # measured in pages, 0 disables
|
#backend_flush_after = 0 # measured in pages, 0 disables
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# WRITE AHEAD LOG
|
# WRITE-AHEAD LOG
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Settings -
|
# - Settings -
|
||||||
@ -180,8 +193,8 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
wal_level = minimal # minimal, replica, or logical
|
wal_level = minimal # minimal, replica, or logical
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#fsync = on # flush data to disk for crash safety
|
#fsync = on # flush data to disk for crash safety
|
||||||
# (turning this off can cause
|
# (turning this off can cause
|
||||||
# unrecoverable data corruption)
|
# unrecoverable data corruption)
|
||||||
#synchronous_commit = on # synchronization level;
|
#synchronous_commit = on # synchronization level;
|
||||||
# off, local, remote_write, remote_apply, or on
|
# off, local, remote_write, remote_apply, or on
|
||||||
#wal_sync_method = fsync # the default is the first option
|
#wal_sync_method = fsync # the default is the first option
|
||||||
@ -195,6 +208,8 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#wal_compression = off # enable compression of full-page writes
|
#wal_compression = off # enable compression of full-page writes
|
||||||
#wal_log_hints = off # also do full page writes of non-critical updates
|
#wal_log_hints = off # also do full page writes of non-critical updates
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
#wal_init_zero = on # zero-fill new WAL files
|
||||||
|
#wal_recycle = on # recycle WAL files
|
||||||
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
||||||
@ -223,18 +238,54 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#archive_timeout = 0 # force a logfile segment switch after this
|
#archive_timeout = 0 # force a logfile segment switch after this
|
||||||
# number of seconds; 0 disables
|
# number of seconds; 0 disables
|
||||||
|
|
||||||
|
# - Archive Recovery -
|
||||||
|
|
||||||
|
# These are only used in recovery mode.
|
||||||
|
|
||||||
|
#restore_command = '' # command to use to restore an archived logfile segment
|
||||||
|
# placeholders: %p = path of file to restore
|
||||||
|
# %f = file name only
|
||||||
|
# e.g. 'cp /mnt/server/archivedir/%f %p'
|
||||||
|
# (change requires restart)
|
||||||
|
#archive_cleanup_command = '' # command to execute at every restartpoint
|
||||||
|
#recovery_end_command = '' # command to execute at completion of recovery
|
||||||
|
|
||||||
|
# - Recovery Target -
|
||||||
|
|
||||||
|
# Set these only when performing a targeted recovery.
|
||||||
|
|
||||||
|
#recovery_target = '' # 'immediate' to end recovery as soon as a
|
||||||
|
# consistent state is reached
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_name = '' # the named restore point to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_time = '' # the time stamp up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_inclusive = on # Specifies whether to stop:
|
||||||
|
# just after the specified recovery target (on)
|
||||||
|
# just before the recovery target (off)
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# REPLICATION
|
# REPLICATION
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Sending Server(s) -
|
# - Sending Servers -
|
||||||
|
|
||||||
# Set these on the master and on any standby that will send replication data.
|
# Set these on the master and on any standby that will send replication data.
|
||||||
|
|
||||||
max_wal_senders = 0 # max number of walsender processes
|
max_wal_senders = 0 # max number of walsender processes
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
#wal_keep_segments = 0 # in logfile segments; 0 disables
|
||||||
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
||||||
|
|
||||||
max_replication_slots = 0 # max number of replication slots
|
max_replication_slots = 0 # max number of replication slots
|
||||||
@ -256,6 +307,11 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
|
|
||||||
# These settings are ignored on a master server.
|
# These settings are ignored on a master server.
|
||||||
|
|
||||||
|
#primary_conninfo = '' # connection string to sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#primary_slot_name = '' # replication slot on sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#promote_trigger_file = '' # file name whose presence ends recovery
|
||||||
#hot_standby = on # "off" disallows queries during recovery
|
#hot_standby = on # "off" disallows queries during recovery
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#max_standby_archive_delay = 30s # max delay before canceling queries
|
#max_standby_archive_delay = 30s # max delay before canceling queries
|
||||||
@ -273,6 +329,7 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
# in milliseconds; 0 disables
|
# in milliseconds; 0 disables
|
||||||
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
||||||
# retrieve WAL after a failed attempt
|
# retrieve WAL after a failed attempt
|
||||||
|
#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
|
||||||
|
|
||||||
# - Subscribers -
|
# - Subscribers -
|
||||||
|
|
||||||
@ -297,9 +354,14 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#enable_material = on
|
#enable_material = on
|
||||||
#enable_mergejoin = on
|
#enable_mergejoin = on
|
||||||
#enable_nestloop = on
|
#enable_nestloop = on
|
||||||
|
#enable_parallel_append = on
|
||||||
#enable_seqscan = on
|
#enable_seqscan = on
|
||||||
#enable_sort = on
|
#enable_sort = on
|
||||||
#enable_tidscan = on
|
#enable_tidscan = on
|
||||||
|
#enable_partitionwise_join = off
|
||||||
|
#enable_partitionwise_aggregate = off
|
||||||
|
#enable_parallel_hash = on
|
||||||
|
#enable_partition_pruning = on
|
||||||
|
|
||||||
# - Planner Cost Constants -
|
# - Planner Cost Constants -
|
||||||
|
|
||||||
@ -310,6 +372,16 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#cpu_operator_cost = 0.0025 # same scale as above
|
#cpu_operator_cost = 0.0025 # same scale as above
|
||||||
#parallel_tuple_cost = 0.1 # same scale as above
|
#parallel_tuple_cost = 0.1 # same scale as above
|
||||||
#parallel_setup_cost = 1000.0 # same scale as above
|
#parallel_setup_cost = 1000.0 # same scale as above
|
||||||
|
|
||||||
|
#jit_above_cost = 100000 # perform JIT compilation if available
|
||||||
|
# and query more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
#jit_inline_above_cost = 500000 # inline small functions if query is
|
||||||
|
# more expensive than this; -1 disables
|
||||||
|
#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
|
||||||
|
# query is more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
|
||||||
#min_parallel_table_scan_size = 8MB
|
#min_parallel_table_scan_size = 8MB
|
||||||
#min_parallel_index_scan_size = 512kB
|
#min_parallel_index_scan_size = 512kB
|
||||||
#effective_cache_size = 4GB
|
#effective_cache_size = 4GB
|
||||||
@ -333,10 +405,13 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
||||||
# JOIN clauses
|
# JOIN clauses
|
||||||
#force_parallel_mode = off
|
#force_parallel_mode = off
|
||||||
|
#jit = on # allow JIT compilation
|
||||||
|
#plan_cache_mode = auto # auto, force_generic_plan or
|
||||||
|
# force_custom_plan
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# ERROR REPORTING AND LOGGING
|
# REPORTING AND LOGGING
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Where to Log -
|
# - Where to Log -
|
||||||
@ -385,17 +460,6 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
|
|
||||||
# - When to Log -
|
# - When to Log -
|
||||||
|
|
||||||
#client_min_messages = notice # values in order of decreasing detail:
|
|
||||||
# debug5
|
|
||||||
# debug4
|
|
||||||
# debug3
|
|
||||||
# debug2
|
|
||||||
# debug1
|
|
||||||
# log
|
|
||||||
# notice
|
|
||||||
# warning
|
|
||||||
# error
|
|
||||||
|
|
||||||
#log_min_messages = warning # values in order of decreasing detail:
|
#log_min_messages = warning # values in order of decreasing detail:
|
||||||
# debug5
|
# debug5
|
||||||
# debug4
|
# debug4
|
||||||
@ -429,6 +493,9 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
# statements running at least this number
|
# statements running at least this number
|
||||||
# of milliseconds
|
# of milliseconds
|
||||||
|
|
||||||
|
#log_transaction_sample_rate = 0.0 # Fraction of transactions whose statements
|
||||||
|
# are logged regardless of their duration. 1.0 logs all
|
||||||
|
# statements from all transactions, 0.0 never logs.
|
||||||
|
|
||||||
# - What to Log -
|
# - What to Log -
|
||||||
|
|
||||||
@ -464,15 +531,16 @@ log_line_prefix = '%m [%p] %q%u@%d ' # special values:
|
|||||||
# %% = '%'
|
# %% = '%'
|
||||||
# e.g. '<%u%%%d> '
|
# e.g. '<%u%%%d> '
|
||||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||||
#log_statement = 'all' # none, ddl, mod, all
|
#log_statement = 'none' # none, ddl, mod, all
|
||||||
#log_replication_commands = off
|
#log_replication_commands = off
|
||||||
#log_temp_files = -1 # log temporary files equal or larger
|
#log_temp_files = -1 # log temporary files equal or larger
|
||||||
# than the specified size in kilobytes;
|
# than the specified size in kilobytes;
|
||||||
# -1 disables, 0 logs all temp files
|
# -1 disables, 0 logs all temp files
|
||||||
log_timezone = 'Europe/Prague'
|
log_timezone = 'Europe/Prague'
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
# - Process Title -
|
# PROCESS TITLE
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#cluster_name = '' # added to process titles if nonempty
|
#cluster_name = '' # added to process titles if nonempty
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -480,10 +548,10 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# RUNTIME STATISTICS
|
# STATISTICS
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Query/Index Statistics Collector -
|
# - Query and Index Statistics Collector -
|
||||||
|
|
||||||
#track_activities = on
|
#track_activities = on
|
||||||
#track_counts = on
|
#track_counts = on
|
||||||
@ -493,7 +561,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#stats_temp_directory = 'pg_stat_tmp'
|
#stats_temp_directory = 'pg_stat_tmp'
|
||||||
|
|
||||||
|
|
||||||
# - Statistics Monitoring -
|
# - Monitoring -
|
||||||
|
|
||||||
#log_parser_stats = off
|
#log_parser_stats = off
|
||||||
#log_planner_stats = off
|
#log_planner_stats = off
|
||||||
@ -502,7 +570,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# AUTOVACUUM PARAMETERS
|
# AUTOVACUUM
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
||||||
@ -525,7 +593,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
||||||
# before forced vacuum
|
# before forced vacuum
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
|
||||||
# autovacuum, in milliseconds;
|
# autovacuum, in milliseconds;
|
||||||
# -1 means use vacuum_cost_delay
|
# -1 means use vacuum_cost_delay
|
||||||
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
||||||
@ -539,10 +607,22 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
# - Statement Behavior -
|
# - Statement Behavior -
|
||||||
|
|
||||||
|
#client_min_messages = notice # values in order of decreasing detail:
|
||||||
|
# debug5
|
||||||
|
# debug4
|
||||||
|
# debug3
|
||||||
|
# debug2
|
||||||
|
# debug1
|
||||||
|
# log
|
||||||
|
# notice
|
||||||
|
# warning
|
||||||
|
# error
|
||||||
#search_path = '"$user", public' # schema names
|
#search_path = '"$user", public' # schema names
|
||||||
|
#row_security = on
|
||||||
#default_tablespace = '' # a tablespace name, '' uses the default
|
#default_tablespace = '' # a tablespace name, '' uses the default
|
||||||
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
||||||
# only default tablespace
|
# only default tablespace
|
||||||
|
#default_table_access_method = 'heap'
|
||||||
#check_function_bodies = on
|
#check_function_bodies = on
|
||||||
#default_transaction_isolation = 'read committed'
|
#default_transaction_isolation = 'read committed'
|
||||||
#default_transaction_read_only = off
|
#default_transaction_read_only = off
|
||||||
@ -555,6 +635,9 @@ log_timezone = 'Europe/Prague'
|
|||||||
#vacuum_freeze_table_age = 150000000
|
#vacuum_freeze_table_age = 150000000
|
||||||
#vacuum_multixact_freeze_min_age = 5000000
|
#vacuum_multixact_freeze_min_age = 5000000
|
||||||
#vacuum_multixact_freeze_table_age = 150000000
|
#vacuum_multixact_freeze_table_age = 150000000
|
||||||
|
#vacuum_cleanup_index_scale_factor = 0.1 # fraction of total number of tuples
|
||||||
|
# before index cleanup, 0 always performs
|
||||||
|
# index cleanup
|
||||||
#bytea_output = 'hex' # hex, escape
|
#bytea_output = 'hex' # hex, escape
|
||||||
#xmlbinary = 'base64'
|
#xmlbinary = 'base64'
|
||||||
#xmloption = 'content'
|
#xmloption = 'content'
|
||||||
@ -573,7 +656,8 @@ timezone = 'Europe/Prague'
|
|||||||
# India
|
# India
|
||||||
# You can create your own file in
|
# You can create your own file in
|
||||||
# share/timezonesets/.
|
# share/timezonesets/.
|
||||||
#extra_float_digits = 0 # min -15, max 3
|
#extra_float_digits = 1 # min -15, max 3; any value >0 actually
|
||||||
|
# selects precise output mode
|
||||||
#client_encoding = sql_ascii # actually, defaults to database
|
#client_encoding = sql_ascii # actually, defaults to database
|
||||||
# encoding
|
# encoding
|
||||||
|
|
||||||
@ -587,11 +671,16 @@ lc_time = 'C' # locale for time formatting
|
|||||||
# default configuration for text search
|
# default configuration for text search
|
||||||
default_text_search_config = 'pg_catalog.english'
|
default_text_search_config = 'pg_catalog.english'
|
||||||
|
|
||||||
|
# - Shared Library Preloading -
|
||||||
|
|
||||||
|
#shared_preload_libraries = '' # (change requires restart)
|
||||||
|
#local_preload_libraries = ''
|
||||||
|
#session_preload_libraries = ''
|
||||||
|
#jit_provider = 'llvmjit' # JIT library to use
|
||||||
|
|
||||||
# - Other Defaults -
|
# - Other Defaults -
|
||||||
|
|
||||||
#dynamic_library_path = '$libdir'
|
#dynamic_library_path = '$libdir'
|
||||||
#local_preload_libraries = ''
|
|
||||||
#session_preload_libraries = ''
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -610,14 +699,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# VERSION/PLATFORM COMPATIBILITY
|
# VERSION AND PLATFORM COMPATIBILITY
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Previous PostgreSQL Versions -
|
# - Previous PostgreSQL Versions -
|
||||||
|
|
||||||
#array_nulls = on
|
#array_nulls = on
|
||||||
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
||||||
#default_with_oids = off
|
|
||||||
#escape_string_warning = on
|
#escape_string_warning = on
|
||||||
#lo_compat_privileges = off
|
#lo_compat_privileges = off
|
||||||
#operator_precedence_warning = off
|
#operator_precedence_warning = off
|
||||||
@ -636,6 +724,9 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
#exit_on_error = off # terminate session on any error?
|
#exit_on_error = off # terminate session on any error?
|
||||||
#restart_after_crash = on # reinitialize after backend crash?
|
#restart_after_crash = on # reinitialize after backend crash?
|
||||||
|
#data_sync_retry = off # retry or panic on failure to fsync
|
||||||
|
# data?
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -643,12 +734,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# These options allow settings to be loaded from files other than the
|
# These options allow settings to be loaded from files other than the
|
||||||
# default postgresql.conf.
|
# default postgresql.conf. Note that these are directives, not variable
|
||||||
|
# assignments, so they can usefully be given more than once.
|
||||||
|
|
||||||
#include_dir = 'conf.d' # include files ending in '.conf' from
|
#include_dir = '...' # include files ending in '.conf' from
|
||||||
# directory 'conf.d'
|
# a directory, e.g., 'conf.d'
|
||||||
#include_if_exists = 'exists.conf' # include file only if it exists
|
#include_if_exists = '...' # include file only if it exists
|
||||||
#include = 'special.conf' # include file
|
#include = '...' # include file
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
@ -73,27 +73,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
#bonjour_name = '' # defaults to the computer name
|
#bonjour_name = '' # defaults to the computer name
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Security and Authentication -
|
# - TCP settings -
|
||||||
|
|
||||||
#authentication_timeout = 1min # 1s-600s
|
|
||||||
#ssl = off
|
|
||||||
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
||||||
#ssl_prefer_server_ciphers = on
|
|
||||||
#ssl_ecdh_curve = 'prime256v1'
|
|
||||||
#ssl_dh_params_file = ''
|
|
||||||
#ssl_cert_file = 'server.crt'
|
|
||||||
#ssl_key_file = 'server.key'
|
|
||||||
#ssl_ca_file = ''
|
|
||||||
#ssl_crl_file = ''
|
|
||||||
#password_encryption = md5 # md5 or scram-sha-256
|
|
||||||
#db_user_namespace = off
|
|
||||||
#row_security = on
|
|
||||||
|
|
||||||
# GSSAPI using Kerberos
|
|
||||||
#krb_server_keyfile = ''
|
|
||||||
#krb_caseins_users = off
|
|
||||||
|
|
||||||
# - TCP Keepalives -
|
|
||||||
# see "man 7 tcp" for details
|
# see "man 7 tcp" for details
|
||||||
|
|
||||||
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
||||||
@ -102,6 +82,34 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
|
#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
|
||||||
|
# 0 selects the system default
|
||||||
|
|
||||||
|
# - Authentication -
|
||||||
|
|
||||||
|
#authentication_timeout = 1min # 1s-600s
|
||||||
|
#password_encryption = md5 # md5 or scram-sha-256
|
||||||
|
#db_user_namespace = off
|
||||||
|
|
||||||
|
# GSSAPI using Kerberos
|
||||||
|
#krb_server_keyfile = ''
|
||||||
|
#krb_caseins_users = off
|
||||||
|
|
||||||
|
# - SSL -
|
||||||
|
|
||||||
|
#ssl = off
|
||||||
|
#ssl_ca_file = ''
|
||||||
|
#ssl_cert_file = 'server.crt'
|
||||||
|
#ssl_crl_file = ''
|
||||||
|
#ssl_key_file = 'server.key'
|
||||||
|
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
||||||
|
#ssl_prefer_server_ciphers = on
|
||||||
|
#ssl_ecdh_curve = 'prime256v1'
|
||||||
|
#ssl_min_protocol_version = 'TLSv1'
|
||||||
|
#ssl_max_protocol_version = ''
|
||||||
|
#ssl_dh_params_file = ''
|
||||||
|
#ssl_passphrase_command = ''
|
||||||
|
#ssl_passphrase_command_supports_reload = off
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -110,7 +118,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
|
|
||||||
# - Memory -
|
# - Memory -
|
||||||
|
|
||||||
shared_buffers = 192MB # min 128kB
|
shared_buffers = 128MB # min 128kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#huge_pages = try # on, off, or try
|
#huge_pages = try # on, off, or try
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -121,16 +129,20 @@ shared_buffers = 192MB # min 128kB
|
|||||||
# you actively intend to use prepared transactions.
|
# you actively intend to use prepared transactions.
|
||||||
#work_mem = 4MB # min 64kB
|
#work_mem = 4MB # min 64kB
|
||||||
#maintenance_work_mem = 64MB # min 1MB
|
#maintenance_work_mem = 64MB # min 1MB
|
||||||
#replacement_sort_tuples = 150000 # limits use of replacement selection sort
|
|
||||||
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
||||||
#max_stack_depth = 2MB # min 100kB
|
#max_stack_depth = 2MB # min 100kB
|
||||||
|
#shared_memory_type = mmap # the default is the first option
|
||||||
|
# supported by the operating system:
|
||||||
|
# mmap
|
||||||
|
# sysv
|
||||||
|
# windows
|
||||||
|
# (change requires restart)
|
||||||
dynamic_shared_memory_type = posix # the default is the first option
|
dynamic_shared_memory_type = posix # the default is the first option
|
||||||
# supported by the operating system:
|
# supported by the operating system:
|
||||||
# posix
|
# posix
|
||||||
# sysv
|
# sysv
|
||||||
# windows
|
# windows
|
||||||
# mmap
|
# mmap
|
||||||
# use none to disable dynamic shared memory
|
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Disk -
|
# - Disk -
|
||||||
@ -138,15 +150,14 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
#temp_file_limit = -1 # limits per-process temp file space
|
#temp_file_limit = -1 # limits per-process temp file space
|
||||||
# in kB, or -1 for no limit
|
# in kB, or -1 for no limit
|
||||||
|
|
||||||
# - Kernel Resource Usage -
|
# - Kernel Resources -
|
||||||
|
|
||||||
#max_files_per_process = 1000 # min 25
|
#max_files_per_process = 1000 # min 25
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#shared_preload_libraries = '' # (change requires restart)
|
|
||||||
|
|
||||||
# - Cost-Based Vacuum Delay -
|
# - Cost-Based Vacuum Delay -
|
||||||
|
|
||||||
#vacuum_cost_delay = 0 # 0-100 milliseconds
|
#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
|
||||||
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
||||||
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
||||||
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
||||||
@ -155,7 +166,7 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
# - Background Writer -
|
# - Background Writer -
|
||||||
|
|
||||||
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
||||||
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
|
#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
|
||||||
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
||||||
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
||||||
|
|
||||||
@ -163,16 +174,18 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
|
|
||||||
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
||||||
#max_worker_processes = 8 # (change requires restart)
|
#max_worker_processes = 8 # (change requires restart)
|
||||||
|
#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
|
||||||
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
||||||
|
#parallel_leader_participation = on
|
||||||
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
||||||
# can be used in parallel queries
|
# can be used in parallel operations
|
||||||
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#backend_flush_after = 0 # measured in pages, 0 disables
|
#backend_flush_after = 0 # measured in pages, 0 disables
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# WRITE AHEAD LOG
|
# WRITE-AHEAD LOG
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Settings -
|
# - Settings -
|
||||||
@ -180,8 +193,8 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
wal_level = minimal # minimal, replica, or logical
|
wal_level = minimal # minimal, replica, or logical
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#fsync = on # flush data to disk for crash safety
|
#fsync = on # flush data to disk for crash safety
|
||||||
# (turning this off can cause
|
# (turning this off can cause
|
||||||
# unrecoverable data corruption)
|
# unrecoverable data corruption)
|
||||||
#synchronous_commit = on # synchronization level;
|
#synchronous_commit = on # synchronization level;
|
||||||
# off, local, remote_write, remote_apply, or on
|
# off, local, remote_write, remote_apply, or on
|
||||||
#wal_sync_method = fsync # the default is the first option
|
#wal_sync_method = fsync # the default is the first option
|
||||||
@ -195,6 +208,8 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#wal_compression = off # enable compression of full-page writes
|
#wal_compression = off # enable compression of full-page writes
|
||||||
#wal_log_hints = off # also do full page writes of non-critical updates
|
#wal_log_hints = off # also do full page writes of non-critical updates
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
#wal_init_zero = on # zero-fill new WAL files
|
||||||
|
#wal_recycle = on # recycle WAL files
|
||||||
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
||||||
@ -223,18 +238,54 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#archive_timeout = 0 # force a logfile segment switch after this
|
#archive_timeout = 0 # force a logfile segment switch after this
|
||||||
# number of seconds; 0 disables
|
# number of seconds; 0 disables
|
||||||
|
|
||||||
|
# - Archive Recovery -
|
||||||
|
|
||||||
|
# These are only used in recovery mode.
|
||||||
|
|
||||||
|
#restore_command = '' # command to use to restore an archived logfile segment
|
||||||
|
# placeholders: %p = path of file to restore
|
||||||
|
# %f = file name only
|
||||||
|
# e.g. 'cp /mnt/server/archivedir/%f %p'
|
||||||
|
# (change requires restart)
|
||||||
|
#archive_cleanup_command = '' # command to execute at every restartpoint
|
||||||
|
#recovery_end_command = '' # command to execute at completion of recovery
|
||||||
|
|
||||||
|
# - Recovery Target -
|
||||||
|
|
||||||
|
# Set these only when performing a targeted recovery.
|
||||||
|
|
||||||
|
#recovery_target = '' # 'immediate' to end recovery as soon as a
|
||||||
|
# consistent state is reached
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_name = '' # the named restore point to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_time = '' # the time stamp up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_inclusive = on # Specifies whether to stop:
|
||||||
|
# just after the specified recovery target (on)
|
||||||
|
# just before the recovery target (off)
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# REPLICATION
|
# REPLICATION
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Sending Server(s) -
|
# - Sending Servers -
|
||||||
|
|
||||||
# Set these on the master and on any standby that will send replication data.
|
# Set these on the master and on any standby that will send replication data.
|
||||||
|
|
||||||
max_wal_senders = 0 # max number of walsender processes
|
max_wal_senders = 0 # max number of walsender processes
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
#wal_keep_segments = 0 # in logfile segments; 0 disables
|
||||||
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
||||||
|
|
||||||
max_replication_slots = 0 # max number of replication slots
|
max_replication_slots = 0 # max number of replication slots
|
||||||
@ -256,6 +307,11 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
|
|
||||||
# These settings are ignored on a master server.
|
# These settings are ignored on a master server.
|
||||||
|
|
||||||
|
#primary_conninfo = '' # connection string to sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#primary_slot_name = '' # replication slot on sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#promote_trigger_file = '' # file name whose presence ends recovery
|
||||||
#hot_standby = on # "off" disallows queries during recovery
|
#hot_standby = on # "off" disallows queries during recovery
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#max_standby_archive_delay = 30s # max delay before canceling queries
|
#max_standby_archive_delay = 30s # max delay before canceling queries
|
||||||
@ -273,6 +329,7 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
# in milliseconds; 0 disables
|
# in milliseconds; 0 disables
|
||||||
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
||||||
# retrieve WAL after a failed attempt
|
# retrieve WAL after a failed attempt
|
||||||
|
#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
|
||||||
|
|
||||||
# - Subscribers -
|
# - Subscribers -
|
||||||
|
|
||||||
@ -297,9 +354,14 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#enable_material = on
|
#enable_material = on
|
||||||
#enable_mergejoin = on
|
#enable_mergejoin = on
|
||||||
#enable_nestloop = on
|
#enable_nestloop = on
|
||||||
|
#enable_parallel_append = on
|
||||||
#enable_seqscan = on
|
#enable_seqscan = on
|
||||||
#enable_sort = on
|
#enable_sort = on
|
||||||
#enable_tidscan = on
|
#enable_tidscan = on
|
||||||
|
#enable_partitionwise_join = off
|
||||||
|
#enable_partitionwise_aggregate = off
|
||||||
|
#enable_parallel_hash = on
|
||||||
|
#enable_partition_pruning = on
|
||||||
|
|
||||||
# - Planner Cost Constants -
|
# - Planner Cost Constants -
|
||||||
|
|
||||||
@ -310,6 +372,16 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#cpu_operator_cost = 0.0025 # same scale as above
|
#cpu_operator_cost = 0.0025 # same scale as above
|
||||||
#parallel_tuple_cost = 0.1 # same scale as above
|
#parallel_tuple_cost = 0.1 # same scale as above
|
||||||
#parallel_setup_cost = 1000.0 # same scale as above
|
#parallel_setup_cost = 1000.0 # same scale as above
|
||||||
|
|
||||||
|
#jit_above_cost = 100000 # perform JIT compilation if available
|
||||||
|
# and query more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
#jit_inline_above_cost = 500000 # inline small functions if query is
|
||||||
|
# more expensive than this; -1 disables
|
||||||
|
#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
|
||||||
|
# query is more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
|
||||||
#min_parallel_table_scan_size = 8MB
|
#min_parallel_table_scan_size = 8MB
|
||||||
#min_parallel_index_scan_size = 512kB
|
#min_parallel_index_scan_size = 512kB
|
||||||
#effective_cache_size = 4GB
|
#effective_cache_size = 4GB
|
||||||
@ -333,10 +405,13 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
||||||
# JOIN clauses
|
# JOIN clauses
|
||||||
#force_parallel_mode = off
|
#force_parallel_mode = off
|
||||||
|
#jit = on # allow JIT compilation
|
||||||
|
#plan_cache_mode = auto # auto, force_generic_plan or
|
||||||
|
# force_custom_plan
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# ERROR REPORTING AND LOGGING
|
# REPORTING AND LOGGING
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Where to Log -
|
# - Where to Log -
|
||||||
@ -385,17 +460,6 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
|
|
||||||
# - When to Log -
|
# - When to Log -
|
||||||
|
|
||||||
#client_min_messages = notice # values in order of decreasing detail:
|
|
||||||
# debug5
|
|
||||||
# debug4
|
|
||||||
# debug3
|
|
||||||
# debug2
|
|
||||||
# debug1
|
|
||||||
# log
|
|
||||||
# notice
|
|
||||||
# warning
|
|
||||||
# error
|
|
||||||
|
|
||||||
#log_min_messages = warning # values in order of decreasing detail:
|
#log_min_messages = warning # values in order of decreasing detail:
|
||||||
# debug5
|
# debug5
|
||||||
# debug4
|
# debug4
|
||||||
@ -429,6 +493,9 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
# statements running at least this number
|
# statements running at least this number
|
||||||
# of milliseconds
|
# of milliseconds
|
||||||
|
|
||||||
|
#log_transaction_sample_rate = 0.0 # Fraction of transactions whose statements
|
||||||
|
# are logged regardless of their duration. 1.0 logs all
|
||||||
|
# statements from all transactions, 0.0 never logs.
|
||||||
|
|
||||||
# - What to Log -
|
# - What to Log -
|
||||||
|
|
||||||
@ -464,15 +531,16 @@ log_line_prefix = '%m [%p] %q%u@%d ' # special values:
|
|||||||
# %% = '%'
|
# %% = '%'
|
||||||
# e.g. '<%u%%%d> '
|
# e.g. '<%u%%%d> '
|
||||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||||
#log_statement = 'all' # none, ddl, mod, all
|
#log_statement = 'none' # none, ddl, mod, all
|
||||||
#log_replication_commands = off
|
#log_replication_commands = off
|
||||||
#log_temp_files = -1 # log temporary files equal or larger
|
#log_temp_files = -1 # log temporary files equal or larger
|
||||||
# than the specified size in kilobytes;
|
# than the specified size in kilobytes;
|
||||||
# -1 disables, 0 logs all temp files
|
# -1 disables, 0 logs all temp files
|
||||||
log_timezone = 'Europe/Prague'
|
log_timezone = 'Europe/Prague'
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
# - Process Title -
|
# PROCESS TITLE
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#cluster_name = '' # added to process titles if nonempty
|
#cluster_name = '' # added to process titles if nonempty
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -480,10 +548,10 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# RUNTIME STATISTICS
|
# STATISTICS
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Query/Index Statistics Collector -
|
# - Query and Index Statistics Collector -
|
||||||
|
|
||||||
#track_activities = on
|
#track_activities = on
|
||||||
#track_counts = on
|
#track_counts = on
|
||||||
@ -493,7 +561,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#stats_temp_directory = 'pg_stat_tmp'
|
#stats_temp_directory = 'pg_stat_tmp'
|
||||||
|
|
||||||
|
|
||||||
# - Statistics Monitoring -
|
# - Monitoring -
|
||||||
|
|
||||||
#log_parser_stats = off
|
#log_parser_stats = off
|
||||||
#log_planner_stats = off
|
#log_planner_stats = off
|
||||||
@ -502,7 +570,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# AUTOVACUUM PARAMETERS
|
# AUTOVACUUM
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
||||||
@ -525,7 +593,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
||||||
# before forced vacuum
|
# before forced vacuum
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
|
||||||
# autovacuum, in milliseconds;
|
# autovacuum, in milliseconds;
|
||||||
# -1 means use vacuum_cost_delay
|
# -1 means use vacuum_cost_delay
|
||||||
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
||||||
@ -539,10 +607,22 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
# - Statement Behavior -
|
# - Statement Behavior -
|
||||||
|
|
||||||
|
#client_min_messages = notice # values in order of decreasing detail:
|
||||||
|
# debug5
|
||||||
|
# debug4
|
||||||
|
# debug3
|
||||||
|
# debug2
|
||||||
|
# debug1
|
||||||
|
# log
|
||||||
|
# notice
|
||||||
|
# warning
|
||||||
|
# error
|
||||||
#search_path = '"$user", public' # schema names
|
#search_path = '"$user", public' # schema names
|
||||||
|
#row_security = on
|
||||||
#default_tablespace = '' # a tablespace name, '' uses the default
|
#default_tablespace = '' # a tablespace name, '' uses the default
|
||||||
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
||||||
# only default tablespace
|
# only default tablespace
|
||||||
|
#default_table_access_method = 'heap'
|
||||||
#check_function_bodies = on
|
#check_function_bodies = on
|
||||||
#default_transaction_isolation = 'read committed'
|
#default_transaction_isolation = 'read committed'
|
||||||
#default_transaction_read_only = off
|
#default_transaction_read_only = off
|
||||||
@ -555,6 +635,9 @@ log_timezone = 'Europe/Prague'
|
|||||||
#vacuum_freeze_table_age = 150000000
|
#vacuum_freeze_table_age = 150000000
|
||||||
#vacuum_multixact_freeze_min_age = 5000000
|
#vacuum_multixact_freeze_min_age = 5000000
|
||||||
#vacuum_multixact_freeze_table_age = 150000000
|
#vacuum_multixact_freeze_table_age = 150000000
|
||||||
|
#vacuum_cleanup_index_scale_factor = 0.1 # fraction of total number of tuples
|
||||||
|
# before index cleanup, 0 always performs
|
||||||
|
# index cleanup
|
||||||
#bytea_output = 'hex' # hex, escape
|
#bytea_output = 'hex' # hex, escape
|
||||||
#xmlbinary = 'base64'
|
#xmlbinary = 'base64'
|
||||||
#xmloption = 'content'
|
#xmloption = 'content'
|
||||||
@ -573,7 +656,8 @@ timezone = 'Europe/Prague'
|
|||||||
# India
|
# India
|
||||||
# You can create your own file in
|
# You can create your own file in
|
||||||
# share/timezonesets/.
|
# share/timezonesets/.
|
||||||
#extra_float_digits = 0 # min -15, max 3
|
#extra_float_digits = 1 # min -15, max 3; any value >0 actually
|
||||||
|
# selects precise output mode
|
||||||
#client_encoding = sql_ascii # actually, defaults to database
|
#client_encoding = sql_ascii # actually, defaults to database
|
||||||
# encoding
|
# encoding
|
||||||
|
|
||||||
@ -587,11 +671,16 @@ lc_time = 'C' # locale for time formatting
|
|||||||
# default configuration for text search
|
# default configuration for text search
|
||||||
default_text_search_config = 'pg_catalog.english'
|
default_text_search_config = 'pg_catalog.english'
|
||||||
|
|
||||||
|
# - Shared Library Preloading -
|
||||||
|
|
||||||
|
#shared_preload_libraries = '' # (change requires restart)
|
||||||
|
#local_preload_libraries = ''
|
||||||
|
#session_preload_libraries = ''
|
||||||
|
#jit_provider = 'llvmjit' # JIT library to use
|
||||||
|
|
||||||
# - Other Defaults -
|
# - Other Defaults -
|
||||||
|
|
||||||
#dynamic_library_path = '$libdir'
|
#dynamic_library_path = '$libdir'
|
||||||
#local_preload_libraries = ''
|
|
||||||
#session_preload_libraries = ''
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -610,14 +699,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# VERSION/PLATFORM COMPATIBILITY
|
# VERSION AND PLATFORM COMPATIBILITY
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Previous PostgreSQL Versions -
|
# - Previous PostgreSQL Versions -
|
||||||
|
|
||||||
#array_nulls = on
|
#array_nulls = on
|
||||||
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
||||||
#default_with_oids = off
|
|
||||||
#escape_string_warning = on
|
#escape_string_warning = on
|
||||||
#lo_compat_privileges = off
|
#lo_compat_privileges = off
|
||||||
#operator_precedence_warning = off
|
#operator_precedence_warning = off
|
||||||
@ -636,6 +724,9 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
#exit_on_error = off # terminate session on any error?
|
#exit_on_error = off # terminate session on any error?
|
||||||
#restart_after_crash = on # reinitialize after backend crash?
|
#restart_after_crash = on # reinitialize after backend crash?
|
||||||
|
#data_sync_retry = off # retry or panic on failure to fsync
|
||||||
|
# data?
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -643,12 +734,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# These options allow settings to be loaded from files other than the
|
# These options allow settings to be loaded from files other than the
|
||||||
# default postgresql.conf.
|
# default postgresql.conf. Note that these are directives, not variable
|
||||||
|
# assignments, so they can usefully be given more than once.
|
||||||
|
|
||||||
#include_dir = 'conf.d' # include files ending in '.conf' from
|
#include_dir = '...' # include files ending in '.conf' from
|
||||||
# directory 'conf.d'
|
# a directory, e.g., 'conf.d'
|
||||||
#include_if_exists = 'exists.conf' # include file only if it exists
|
#include_if_exists = '...' # include file only if it exists
|
||||||
#include = 'special.conf' # include file
|
#include = '...' # include file
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
@ -73,27 +73,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
#bonjour_name = '' # defaults to the computer name
|
#bonjour_name = '' # defaults to the computer name
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Security and Authentication -
|
# - TCP settings -
|
||||||
|
|
||||||
#authentication_timeout = 1min # 1s-600s
|
|
||||||
#ssl = off
|
|
||||||
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
||||||
#ssl_prefer_server_ciphers = on
|
|
||||||
#ssl_ecdh_curve = 'prime256v1'
|
|
||||||
#ssl_dh_params_file = ''
|
|
||||||
#ssl_cert_file = 'server.crt'
|
|
||||||
#ssl_key_file = 'server.key'
|
|
||||||
#ssl_ca_file = ''
|
|
||||||
#ssl_crl_file = ''
|
|
||||||
#password_encryption = md5 # md5 or scram-sha-256
|
|
||||||
#db_user_namespace = off
|
|
||||||
#row_security = on
|
|
||||||
|
|
||||||
# GSSAPI using Kerberos
|
|
||||||
#krb_server_keyfile = ''
|
|
||||||
#krb_caseins_users = off
|
|
||||||
|
|
||||||
# - TCP Keepalives -
|
|
||||||
# see "man 7 tcp" for details
|
# see "man 7 tcp" for details
|
||||||
|
|
||||||
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
||||||
@ -102,6 +82,34 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
|
#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
|
||||||
|
# 0 selects the system default
|
||||||
|
|
||||||
|
# - Authentication -
|
||||||
|
|
||||||
|
#authentication_timeout = 1min # 1s-600s
|
||||||
|
#password_encryption = md5 # md5 or scram-sha-256
|
||||||
|
#db_user_namespace = off
|
||||||
|
|
||||||
|
# GSSAPI using Kerberos
|
||||||
|
#krb_server_keyfile = ''
|
||||||
|
#krb_caseins_users = off
|
||||||
|
|
||||||
|
# - SSL -
|
||||||
|
|
||||||
|
#ssl = off
|
||||||
|
#ssl_ca_file = ''
|
||||||
|
#ssl_cert_file = 'server.crt'
|
||||||
|
#ssl_crl_file = ''
|
||||||
|
#ssl_key_file = 'server.key'
|
||||||
|
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
||||||
|
#ssl_prefer_server_ciphers = on
|
||||||
|
#ssl_ecdh_curve = 'prime256v1'
|
||||||
|
#ssl_min_protocol_version = 'TLSv1'
|
||||||
|
#ssl_max_protocol_version = ''
|
||||||
|
#ssl_dh_params_file = ''
|
||||||
|
#ssl_passphrase_command = ''
|
||||||
|
#ssl_passphrase_command_supports_reload = off
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -110,7 +118,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
|
|
||||||
# - Memory -
|
# - Memory -
|
||||||
|
|
||||||
shared_buffers = 192MB # min 128kB
|
shared_buffers = 128MB # min 128kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#huge_pages = try # on, off, or try
|
#huge_pages = try # on, off, or try
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -121,16 +129,20 @@ shared_buffers = 192MB # min 128kB
|
|||||||
# you actively intend to use prepared transactions.
|
# you actively intend to use prepared transactions.
|
||||||
#work_mem = 4MB # min 64kB
|
#work_mem = 4MB # min 64kB
|
||||||
#maintenance_work_mem = 64MB # min 1MB
|
#maintenance_work_mem = 64MB # min 1MB
|
||||||
#replacement_sort_tuples = 150000 # limits use of replacement selection sort
|
|
||||||
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
||||||
#max_stack_depth = 2MB # min 100kB
|
#max_stack_depth = 2MB # min 100kB
|
||||||
|
#shared_memory_type = mmap # the default is the first option
|
||||||
|
# supported by the operating system:
|
||||||
|
# mmap
|
||||||
|
# sysv
|
||||||
|
# windows
|
||||||
|
# (change requires restart)
|
||||||
dynamic_shared_memory_type = posix # the default is the first option
|
dynamic_shared_memory_type = posix # the default is the first option
|
||||||
# supported by the operating system:
|
# supported by the operating system:
|
||||||
# posix
|
# posix
|
||||||
# sysv
|
# sysv
|
||||||
# windows
|
# windows
|
||||||
# mmap
|
# mmap
|
||||||
# use none to disable dynamic shared memory
|
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Disk -
|
# - Disk -
|
||||||
@ -138,15 +150,14 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
#temp_file_limit = -1 # limits per-process temp file space
|
#temp_file_limit = -1 # limits per-process temp file space
|
||||||
# in kB, or -1 for no limit
|
# in kB, or -1 for no limit
|
||||||
|
|
||||||
# - Kernel Resource Usage -
|
# - Kernel Resources -
|
||||||
|
|
||||||
#max_files_per_process = 1000 # min 25
|
#max_files_per_process = 1000 # min 25
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#shared_preload_libraries = '' # (change requires restart)
|
|
||||||
|
|
||||||
# - Cost-Based Vacuum Delay -
|
# - Cost-Based Vacuum Delay -
|
||||||
|
|
||||||
#vacuum_cost_delay = 0 # 0-100 milliseconds
|
#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
|
||||||
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
||||||
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
||||||
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
||||||
@ -155,7 +166,7 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
# - Background Writer -
|
# - Background Writer -
|
||||||
|
|
||||||
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
||||||
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
|
#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
|
||||||
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
||||||
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
||||||
|
|
||||||
@ -163,16 +174,18 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
|
|
||||||
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
||||||
#max_worker_processes = 8 # (change requires restart)
|
#max_worker_processes = 8 # (change requires restart)
|
||||||
|
#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
|
||||||
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
||||||
|
#parallel_leader_participation = on
|
||||||
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
||||||
# can be used in parallel queries
|
# can be used in parallel operations
|
||||||
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#backend_flush_after = 0 # measured in pages, 0 disables
|
#backend_flush_after = 0 # measured in pages, 0 disables
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# WRITE AHEAD LOG
|
# WRITE-AHEAD LOG
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Settings -
|
# - Settings -
|
||||||
@ -180,8 +193,8 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
wal_level = minimal # minimal, replica, or logical
|
wal_level = minimal # minimal, replica, or logical
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#fsync = on # flush data to disk for crash safety
|
#fsync = on # flush data to disk for crash safety
|
||||||
# (turning this off can cause
|
# (turning this off can cause
|
||||||
# unrecoverable data corruption)
|
# unrecoverable data corruption)
|
||||||
#synchronous_commit = on # synchronization level;
|
#synchronous_commit = on # synchronization level;
|
||||||
# off, local, remote_write, remote_apply, or on
|
# off, local, remote_write, remote_apply, or on
|
||||||
#wal_sync_method = fsync # the default is the first option
|
#wal_sync_method = fsync # the default is the first option
|
||||||
@ -195,6 +208,8 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#wal_compression = off # enable compression of full-page writes
|
#wal_compression = off # enable compression of full-page writes
|
||||||
#wal_log_hints = off # also do full page writes of non-critical updates
|
#wal_log_hints = off # also do full page writes of non-critical updates
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
#wal_init_zero = on # zero-fill new WAL files
|
||||||
|
#wal_recycle = on # recycle WAL files
|
||||||
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
||||||
@ -223,18 +238,54 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#archive_timeout = 0 # force a logfile segment switch after this
|
#archive_timeout = 0 # force a logfile segment switch after this
|
||||||
# number of seconds; 0 disables
|
# number of seconds; 0 disables
|
||||||
|
|
||||||
|
# - Archive Recovery -
|
||||||
|
|
||||||
|
# These are only used in recovery mode.
|
||||||
|
|
||||||
|
#restore_command = '' # command to use to restore an archived logfile segment
|
||||||
|
# placeholders: %p = path of file to restore
|
||||||
|
# %f = file name only
|
||||||
|
# e.g. 'cp /mnt/server/archivedir/%f %p'
|
||||||
|
# (change requires restart)
|
||||||
|
#archive_cleanup_command = '' # command to execute at every restartpoint
|
||||||
|
#recovery_end_command = '' # command to execute at completion of recovery
|
||||||
|
|
||||||
|
# - Recovery Target -
|
||||||
|
|
||||||
|
# Set these only when performing a targeted recovery.
|
||||||
|
|
||||||
|
#recovery_target = '' # 'immediate' to end recovery as soon as a
|
||||||
|
# consistent state is reached
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_name = '' # the named restore point to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_time = '' # the time stamp up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_inclusive = on # Specifies whether to stop:
|
||||||
|
# just after the specified recovery target (on)
|
||||||
|
# just before the recovery target (off)
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# REPLICATION
|
# REPLICATION
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Sending Server(s) -
|
# - Sending Servers -
|
||||||
|
|
||||||
# Set these on the master and on any standby that will send replication data.
|
# Set these on the master and on any standby that will send replication data.
|
||||||
|
|
||||||
max_wal_senders = 0 # max number of walsender processes
|
max_wal_senders = 0 # max number of walsender processes
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
#wal_keep_segments = 0 # in logfile segments; 0 disables
|
||||||
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
||||||
|
|
||||||
max_replication_slots = 0 # max number of replication slots
|
max_replication_slots = 0 # max number of replication slots
|
||||||
@ -256,6 +307,11 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
|
|
||||||
# These settings are ignored on a master server.
|
# These settings are ignored on a master server.
|
||||||
|
|
||||||
|
#primary_conninfo = '' # connection string to sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#primary_slot_name = '' # replication slot on sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#promote_trigger_file = '' # file name whose presence ends recovery
|
||||||
#hot_standby = on # "off" disallows queries during recovery
|
#hot_standby = on # "off" disallows queries during recovery
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#max_standby_archive_delay = 30s # max delay before canceling queries
|
#max_standby_archive_delay = 30s # max delay before canceling queries
|
||||||
@ -273,6 +329,7 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
# in milliseconds; 0 disables
|
# in milliseconds; 0 disables
|
||||||
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
||||||
# retrieve WAL after a failed attempt
|
# retrieve WAL after a failed attempt
|
||||||
|
#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
|
||||||
|
|
||||||
# - Subscribers -
|
# - Subscribers -
|
||||||
|
|
||||||
@ -297,9 +354,14 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#enable_material = on
|
#enable_material = on
|
||||||
#enable_mergejoin = on
|
#enable_mergejoin = on
|
||||||
#enable_nestloop = on
|
#enable_nestloop = on
|
||||||
|
#enable_parallel_append = on
|
||||||
#enable_seqscan = on
|
#enable_seqscan = on
|
||||||
#enable_sort = on
|
#enable_sort = on
|
||||||
#enable_tidscan = on
|
#enable_tidscan = on
|
||||||
|
#enable_partitionwise_join = off
|
||||||
|
#enable_partitionwise_aggregate = off
|
||||||
|
#enable_parallel_hash = on
|
||||||
|
#enable_partition_pruning = on
|
||||||
|
|
||||||
# - Planner Cost Constants -
|
# - Planner Cost Constants -
|
||||||
|
|
||||||
@ -310,6 +372,16 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#cpu_operator_cost = 0.0025 # same scale as above
|
#cpu_operator_cost = 0.0025 # same scale as above
|
||||||
#parallel_tuple_cost = 0.1 # same scale as above
|
#parallel_tuple_cost = 0.1 # same scale as above
|
||||||
#parallel_setup_cost = 1000.0 # same scale as above
|
#parallel_setup_cost = 1000.0 # same scale as above
|
||||||
|
|
||||||
|
#jit_above_cost = 100000 # perform JIT compilation if available
|
||||||
|
# and query more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
#jit_inline_above_cost = 500000 # inline small functions if query is
|
||||||
|
# more expensive than this; -1 disables
|
||||||
|
#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
|
||||||
|
# query is more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
|
||||||
#min_parallel_table_scan_size = 8MB
|
#min_parallel_table_scan_size = 8MB
|
||||||
#min_parallel_index_scan_size = 512kB
|
#min_parallel_index_scan_size = 512kB
|
||||||
#effective_cache_size = 4GB
|
#effective_cache_size = 4GB
|
||||||
@ -333,10 +405,13 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
||||||
# JOIN clauses
|
# JOIN clauses
|
||||||
#force_parallel_mode = off
|
#force_parallel_mode = off
|
||||||
|
#jit = on # allow JIT compilation
|
||||||
|
#plan_cache_mode = auto # auto, force_generic_plan or
|
||||||
|
# force_custom_plan
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# ERROR REPORTING AND LOGGING
|
# REPORTING AND LOGGING
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Where to Log -
|
# - Where to Log -
|
||||||
@ -385,17 +460,6 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
|
|
||||||
# - When to Log -
|
# - When to Log -
|
||||||
|
|
||||||
#client_min_messages = notice # values in order of decreasing detail:
|
|
||||||
# debug5
|
|
||||||
# debug4
|
|
||||||
# debug3
|
|
||||||
# debug2
|
|
||||||
# debug1
|
|
||||||
# log
|
|
||||||
# notice
|
|
||||||
# warning
|
|
||||||
# error
|
|
||||||
|
|
||||||
#log_min_messages = warning # values in order of decreasing detail:
|
#log_min_messages = warning # values in order of decreasing detail:
|
||||||
# debug5
|
# debug5
|
||||||
# debug4
|
# debug4
|
||||||
@ -429,6 +493,9 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
# statements running at least this number
|
# statements running at least this number
|
||||||
# of milliseconds
|
# of milliseconds
|
||||||
|
|
||||||
|
#log_transaction_sample_rate = 0.0 # Fraction of transactions whose statements
|
||||||
|
# are logged regardless of their duration. 1.0 logs all
|
||||||
|
# statements from all transactions, 0.0 never logs.
|
||||||
|
|
||||||
# - What to Log -
|
# - What to Log -
|
||||||
|
|
||||||
@ -464,15 +531,16 @@ log_line_prefix = '%m [%p] %q%u@%d ' # special values:
|
|||||||
# %% = '%'
|
# %% = '%'
|
||||||
# e.g. '<%u%%%d> '
|
# e.g. '<%u%%%d> '
|
||||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||||
#log_statement = 'all' # none, ddl, mod, all
|
#log_statement = 'none' # none, ddl, mod, all
|
||||||
#log_replication_commands = off
|
#log_replication_commands = off
|
||||||
#log_temp_files = -1 # log temporary files equal or larger
|
#log_temp_files = -1 # log temporary files equal or larger
|
||||||
# than the specified size in kilobytes;
|
# than the specified size in kilobytes;
|
||||||
# -1 disables, 0 logs all temp files
|
# -1 disables, 0 logs all temp files
|
||||||
log_timezone = 'Europe/Prague'
|
log_timezone = 'Europe/Prague'
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
# - Process Title -
|
# PROCESS TITLE
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#cluster_name = '' # added to process titles if nonempty
|
#cluster_name = '' # added to process titles if nonempty
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -480,10 +548,10 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# RUNTIME STATISTICS
|
# STATISTICS
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Query/Index Statistics Collector -
|
# - Query and Index Statistics Collector -
|
||||||
|
|
||||||
#track_activities = on
|
#track_activities = on
|
||||||
#track_counts = on
|
#track_counts = on
|
||||||
@ -493,7 +561,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#stats_temp_directory = 'pg_stat_tmp'
|
#stats_temp_directory = 'pg_stat_tmp'
|
||||||
|
|
||||||
|
|
||||||
# - Statistics Monitoring -
|
# - Monitoring -
|
||||||
|
|
||||||
#log_parser_stats = off
|
#log_parser_stats = off
|
||||||
#log_planner_stats = off
|
#log_planner_stats = off
|
||||||
@ -502,7 +570,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# AUTOVACUUM PARAMETERS
|
# AUTOVACUUM
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
||||||
@ -525,7 +593,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
||||||
# before forced vacuum
|
# before forced vacuum
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
|
||||||
# autovacuum, in milliseconds;
|
# autovacuum, in milliseconds;
|
||||||
# -1 means use vacuum_cost_delay
|
# -1 means use vacuum_cost_delay
|
||||||
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
||||||
@ -539,10 +607,22 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
# - Statement Behavior -
|
# - Statement Behavior -
|
||||||
|
|
||||||
|
#client_min_messages = notice # values in order of decreasing detail:
|
||||||
|
# debug5
|
||||||
|
# debug4
|
||||||
|
# debug3
|
||||||
|
# debug2
|
||||||
|
# debug1
|
||||||
|
# log
|
||||||
|
# notice
|
||||||
|
# warning
|
||||||
|
# error
|
||||||
#search_path = '"$user", public' # schema names
|
#search_path = '"$user", public' # schema names
|
||||||
|
#row_security = on
|
||||||
#default_tablespace = '' # a tablespace name, '' uses the default
|
#default_tablespace = '' # a tablespace name, '' uses the default
|
||||||
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
||||||
# only default tablespace
|
# only default tablespace
|
||||||
|
#default_table_access_method = 'heap'
|
||||||
#check_function_bodies = on
|
#check_function_bodies = on
|
||||||
#default_transaction_isolation = 'read committed'
|
#default_transaction_isolation = 'read committed'
|
||||||
#default_transaction_read_only = off
|
#default_transaction_read_only = off
|
||||||
@ -555,6 +635,9 @@ log_timezone = 'Europe/Prague'
|
|||||||
#vacuum_freeze_table_age = 150000000
|
#vacuum_freeze_table_age = 150000000
|
||||||
#vacuum_multixact_freeze_min_age = 5000000
|
#vacuum_multixact_freeze_min_age = 5000000
|
||||||
#vacuum_multixact_freeze_table_age = 150000000
|
#vacuum_multixact_freeze_table_age = 150000000
|
||||||
|
#vacuum_cleanup_index_scale_factor = 0.1 # fraction of total number of tuples
|
||||||
|
# before index cleanup, 0 always performs
|
||||||
|
# index cleanup
|
||||||
#bytea_output = 'hex' # hex, escape
|
#bytea_output = 'hex' # hex, escape
|
||||||
#xmlbinary = 'base64'
|
#xmlbinary = 'base64'
|
||||||
#xmloption = 'content'
|
#xmloption = 'content'
|
||||||
@ -573,7 +656,8 @@ timezone = 'Europe/Prague'
|
|||||||
# India
|
# India
|
||||||
# You can create your own file in
|
# You can create your own file in
|
||||||
# share/timezonesets/.
|
# share/timezonesets/.
|
||||||
#extra_float_digits = 0 # min -15, max 3
|
#extra_float_digits = 1 # min -15, max 3; any value >0 actually
|
||||||
|
# selects precise output mode
|
||||||
#client_encoding = sql_ascii # actually, defaults to database
|
#client_encoding = sql_ascii # actually, defaults to database
|
||||||
# encoding
|
# encoding
|
||||||
|
|
||||||
@ -587,11 +671,16 @@ lc_time = 'C' # locale for time formatting
|
|||||||
# default configuration for text search
|
# default configuration for text search
|
||||||
default_text_search_config = 'pg_catalog.english'
|
default_text_search_config = 'pg_catalog.english'
|
||||||
|
|
||||||
|
# - Shared Library Preloading -
|
||||||
|
|
||||||
|
#shared_preload_libraries = '' # (change requires restart)
|
||||||
|
#local_preload_libraries = ''
|
||||||
|
#session_preload_libraries = ''
|
||||||
|
#jit_provider = 'llvmjit' # JIT library to use
|
||||||
|
|
||||||
# - Other Defaults -
|
# - Other Defaults -
|
||||||
|
|
||||||
#dynamic_library_path = '$libdir'
|
#dynamic_library_path = '$libdir'
|
||||||
#local_preload_libraries = ''
|
|
||||||
#session_preload_libraries = ''
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -610,14 +699,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# VERSION/PLATFORM COMPATIBILITY
|
# VERSION AND PLATFORM COMPATIBILITY
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Previous PostgreSQL Versions -
|
# - Previous PostgreSQL Versions -
|
||||||
|
|
||||||
#array_nulls = on
|
#array_nulls = on
|
||||||
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
||||||
#default_with_oids = off
|
|
||||||
#escape_string_warning = on
|
#escape_string_warning = on
|
||||||
#lo_compat_privileges = off
|
#lo_compat_privileges = off
|
||||||
#operator_precedence_warning = off
|
#operator_precedence_warning = off
|
||||||
@ -636,6 +724,9 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
#exit_on_error = off # terminate session on any error?
|
#exit_on_error = off # terminate session on any error?
|
||||||
#restart_after_crash = on # reinitialize after backend crash?
|
#restart_after_crash = on # reinitialize after backend crash?
|
||||||
|
#data_sync_retry = off # retry or panic on failure to fsync
|
||||||
|
# data?
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -643,12 +734,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# These options allow settings to be loaded from files other than the
|
# These options allow settings to be loaded from files other than the
|
||||||
# default postgresql.conf.
|
# default postgresql.conf. Note that these are directives, not variable
|
||||||
|
# assignments, so they can usefully be given more than once.
|
||||||
|
|
||||||
#include_dir = 'conf.d' # include files ending in '.conf' from
|
#include_dir = '...' # include files ending in '.conf' from
|
||||||
# directory 'conf.d'
|
# a directory, e.g., 'conf.d'
|
||||||
#include_if_exists = 'exists.conf' # include file only if it exists
|
#include_if_exists = '...' # include file only if it exists
|
||||||
#include = 'special.conf' # include file
|
#include = '...' # include file
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
@ -73,27 +73,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
#bonjour_name = '' # defaults to the computer name
|
#bonjour_name = '' # defaults to the computer name
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Security and Authentication -
|
# - TCP settings -
|
||||||
|
|
||||||
#authentication_timeout = 1min # 1s-600s
|
|
||||||
#ssl = off
|
|
||||||
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
||||||
#ssl_prefer_server_ciphers = on
|
|
||||||
#ssl_ecdh_curve = 'prime256v1'
|
|
||||||
#ssl_dh_params_file = ''
|
|
||||||
#ssl_cert_file = 'server.crt'
|
|
||||||
#ssl_key_file = 'server.key'
|
|
||||||
#ssl_ca_file = ''
|
|
||||||
#ssl_crl_file = ''
|
|
||||||
#password_encryption = md5 # md5 or scram-sha-256
|
|
||||||
#db_user_namespace = off
|
|
||||||
#row_security = on
|
|
||||||
|
|
||||||
# GSSAPI using Kerberos
|
|
||||||
#krb_server_keyfile = ''
|
|
||||||
#krb_caseins_users = off
|
|
||||||
|
|
||||||
# - TCP Keepalives -
|
|
||||||
# see "man 7 tcp" for details
|
# see "man 7 tcp" for details
|
||||||
|
|
||||||
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
||||||
@ -102,6 +82,34 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
|
#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
|
||||||
|
# 0 selects the system default
|
||||||
|
|
||||||
|
# - Authentication -
|
||||||
|
|
||||||
|
#authentication_timeout = 1min # 1s-600s
|
||||||
|
#password_encryption = md5 # md5 or scram-sha-256
|
||||||
|
#db_user_namespace = off
|
||||||
|
|
||||||
|
# GSSAPI using Kerberos
|
||||||
|
#krb_server_keyfile = ''
|
||||||
|
#krb_caseins_users = off
|
||||||
|
|
||||||
|
# - SSL -
|
||||||
|
|
||||||
|
#ssl = off
|
||||||
|
#ssl_ca_file = ''
|
||||||
|
#ssl_cert_file = 'server.crt'
|
||||||
|
#ssl_crl_file = ''
|
||||||
|
#ssl_key_file = 'server.key'
|
||||||
|
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
||||||
|
#ssl_prefer_server_ciphers = on
|
||||||
|
#ssl_ecdh_curve = 'prime256v1'
|
||||||
|
#ssl_min_protocol_version = 'TLSv1'
|
||||||
|
#ssl_max_protocol_version = ''
|
||||||
|
#ssl_dh_params_file = ''
|
||||||
|
#ssl_passphrase_command = ''
|
||||||
|
#ssl_passphrase_command_supports_reload = off
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -110,7 +118,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
|
|
||||||
# - Memory -
|
# - Memory -
|
||||||
|
|
||||||
shared_buffers = 192MB # min 128kB
|
shared_buffers = 128MB # min 128kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#huge_pages = try # on, off, or try
|
#huge_pages = try # on, off, or try
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -121,16 +129,20 @@ shared_buffers = 192MB # min 128kB
|
|||||||
# you actively intend to use prepared transactions.
|
# you actively intend to use prepared transactions.
|
||||||
#work_mem = 4MB # min 64kB
|
#work_mem = 4MB # min 64kB
|
||||||
#maintenance_work_mem = 64MB # min 1MB
|
#maintenance_work_mem = 64MB # min 1MB
|
||||||
#replacement_sort_tuples = 150000 # limits use of replacement selection sort
|
|
||||||
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
||||||
#max_stack_depth = 2MB # min 100kB
|
#max_stack_depth = 2MB # min 100kB
|
||||||
|
#shared_memory_type = mmap # the default is the first option
|
||||||
|
# supported by the operating system:
|
||||||
|
# mmap
|
||||||
|
# sysv
|
||||||
|
# windows
|
||||||
|
# (change requires restart)
|
||||||
dynamic_shared_memory_type = posix # the default is the first option
|
dynamic_shared_memory_type = posix # the default is the first option
|
||||||
# supported by the operating system:
|
# supported by the operating system:
|
||||||
# posix
|
# posix
|
||||||
# sysv
|
# sysv
|
||||||
# windows
|
# windows
|
||||||
# mmap
|
# mmap
|
||||||
# use none to disable dynamic shared memory
|
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Disk -
|
# - Disk -
|
||||||
@ -138,15 +150,14 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
#temp_file_limit = -1 # limits per-process temp file space
|
#temp_file_limit = -1 # limits per-process temp file space
|
||||||
# in kB, or -1 for no limit
|
# in kB, or -1 for no limit
|
||||||
|
|
||||||
# - Kernel Resource Usage -
|
# - Kernel Resources -
|
||||||
|
|
||||||
#max_files_per_process = 1000 # min 25
|
#max_files_per_process = 1000 # min 25
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#shared_preload_libraries = '' # (change requires restart)
|
|
||||||
|
|
||||||
# - Cost-Based Vacuum Delay -
|
# - Cost-Based Vacuum Delay -
|
||||||
|
|
||||||
#vacuum_cost_delay = 0 # 0-100 milliseconds
|
#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
|
||||||
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
||||||
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
||||||
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
||||||
@ -155,7 +166,7 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
# - Background Writer -
|
# - Background Writer -
|
||||||
|
|
||||||
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
||||||
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
|
#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
|
||||||
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
||||||
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
||||||
|
|
||||||
@ -163,16 +174,18 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
|
|
||||||
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
||||||
#max_worker_processes = 8 # (change requires restart)
|
#max_worker_processes = 8 # (change requires restart)
|
||||||
|
#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
|
||||||
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
||||||
|
#parallel_leader_participation = on
|
||||||
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
||||||
# can be used in parallel queries
|
# can be used in parallel operations
|
||||||
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#backend_flush_after = 0 # measured in pages, 0 disables
|
#backend_flush_after = 0 # measured in pages, 0 disables
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# WRITE AHEAD LOG
|
# WRITE-AHEAD LOG
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Settings -
|
# - Settings -
|
||||||
@ -180,8 +193,8 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
wal_level = minimal # minimal, replica, or logical
|
wal_level = minimal # minimal, replica, or logical
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#fsync = on # flush data to disk for crash safety
|
#fsync = on # flush data to disk for crash safety
|
||||||
# (turning this off can cause
|
# (turning this off can cause
|
||||||
# unrecoverable data corruption)
|
# unrecoverable data corruption)
|
||||||
#synchronous_commit = on # synchronization level;
|
#synchronous_commit = on # synchronization level;
|
||||||
# off, local, remote_write, remote_apply, or on
|
# off, local, remote_write, remote_apply, or on
|
||||||
#wal_sync_method = fsync # the default is the first option
|
#wal_sync_method = fsync # the default is the first option
|
||||||
@ -195,6 +208,8 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#wal_compression = off # enable compression of full-page writes
|
#wal_compression = off # enable compression of full-page writes
|
||||||
#wal_log_hints = off # also do full page writes of non-critical updates
|
#wal_log_hints = off # also do full page writes of non-critical updates
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
#wal_init_zero = on # zero-fill new WAL files
|
||||||
|
#wal_recycle = on # recycle WAL files
|
||||||
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
||||||
@ -223,18 +238,54 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#archive_timeout = 0 # force a logfile segment switch after this
|
#archive_timeout = 0 # force a logfile segment switch after this
|
||||||
# number of seconds; 0 disables
|
# number of seconds; 0 disables
|
||||||
|
|
||||||
|
# - Archive Recovery -
|
||||||
|
|
||||||
|
# These are only used in recovery mode.
|
||||||
|
|
||||||
|
#restore_command = '' # command to use to restore an archived logfile segment
|
||||||
|
# placeholders: %p = path of file to restore
|
||||||
|
# %f = file name only
|
||||||
|
# e.g. 'cp /mnt/server/archivedir/%f %p'
|
||||||
|
# (change requires restart)
|
||||||
|
#archive_cleanup_command = '' # command to execute at every restartpoint
|
||||||
|
#recovery_end_command = '' # command to execute at completion of recovery
|
||||||
|
|
||||||
|
# - Recovery Target -
|
||||||
|
|
||||||
|
# Set these only when performing a targeted recovery.
|
||||||
|
|
||||||
|
#recovery_target = '' # 'immediate' to end recovery as soon as a
|
||||||
|
# consistent state is reached
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_name = '' # the named restore point to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_time = '' # the time stamp up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_inclusive = on # Specifies whether to stop:
|
||||||
|
# just after the specified recovery target (on)
|
||||||
|
# just before the recovery target (off)
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# REPLICATION
|
# REPLICATION
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Sending Server(s) -
|
# - Sending Servers -
|
||||||
|
|
||||||
# Set these on the master and on any standby that will send replication data.
|
# Set these on the master and on any standby that will send replication data.
|
||||||
|
|
||||||
max_wal_senders = 0 # max number of walsender processes
|
max_wal_senders = 0 # max number of walsender processes
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
#wal_keep_segments = 0 # in logfile segments; 0 disables
|
||||||
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
||||||
|
|
||||||
max_replication_slots = 0 # max number of replication slots
|
max_replication_slots = 0 # max number of replication slots
|
||||||
@ -256,6 +307,11 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
|
|
||||||
# These settings are ignored on a master server.
|
# These settings are ignored on a master server.
|
||||||
|
|
||||||
|
#primary_conninfo = '' # connection string to sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#primary_slot_name = '' # replication slot on sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#promote_trigger_file = '' # file name whose presence ends recovery
|
||||||
#hot_standby = on # "off" disallows queries during recovery
|
#hot_standby = on # "off" disallows queries during recovery
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#max_standby_archive_delay = 30s # max delay before canceling queries
|
#max_standby_archive_delay = 30s # max delay before canceling queries
|
||||||
@ -273,6 +329,7 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
# in milliseconds; 0 disables
|
# in milliseconds; 0 disables
|
||||||
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
||||||
# retrieve WAL after a failed attempt
|
# retrieve WAL after a failed attempt
|
||||||
|
#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
|
||||||
|
|
||||||
# - Subscribers -
|
# - Subscribers -
|
||||||
|
|
||||||
@ -297,9 +354,14 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#enable_material = on
|
#enable_material = on
|
||||||
#enable_mergejoin = on
|
#enable_mergejoin = on
|
||||||
#enable_nestloop = on
|
#enable_nestloop = on
|
||||||
|
#enable_parallel_append = on
|
||||||
#enable_seqscan = on
|
#enable_seqscan = on
|
||||||
#enable_sort = on
|
#enable_sort = on
|
||||||
#enable_tidscan = on
|
#enable_tidscan = on
|
||||||
|
#enable_partitionwise_join = off
|
||||||
|
#enable_partitionwise_aggregate = off
|
||||||
|
#enable_parallel_hash = on
|
||||||
|
#enable_partition_pruning = on
|
||||||
|
|
||||||
# - Planner Cost Constants -
|
# - Planner Cost Constants -
|
||||||
|
|
||||||
@ -310,6 +372,16 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#cpu_operator_cost = 0.0025 # same scale as above
|
#cpu_operator_cost = 0.0025 # same scale as above
|
||||||
#parallel_tuple_cost = 0.1 # same scale as above
|
#parallel_tuple_cost = 0.1 # same scale as above
|
||||||
#parallel_setup_cost = 1000.0 # same scale as above
|
#parallel_setup_cost = 1000.0 # same scale as above
|
||||||
|
|
||||||
|
#jit_above_cost = 100000 # perform JIT compilation if available
|
||||||
|
# and query more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
#jit_inline_above_cost = 500000 # inline small functions if query is
|
||||||
|
# more expensive than this; -1 disables
|
||||||
|
#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
|
||||||
|
# query is more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
|
||||||
#min_parallel_table_scan_size = 8MB
|
#min_parallel_table_scan_size = 8MB
|
||||||
#min_parallel_index_scan_size = 512kB
|
#min_parallel_index_scan_size = 512kB
|
||||||
#effective_cache_size = 4GB
|
#effective_cache_size = 4GB
|
||||||
@ -333,10 +405,13 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
||||||
# JOIN clauses
|
# JOIN clauses
|
||||||
#force_parallel_mode = off
|
#force_parallel_mode = off
|
||||||
|
#jit = on # allow JIT compilation
|
||||||
|
#plan_cache_mode = auto # auto, force_generic_plan or
|
||||||
|
# force_custom_plan
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# ERROR REPORTING AND LOGGING
|
# REPORTING AND LOGGING
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Where to Log -
|
# - Where to Log -
|
||||||
@ -385,17 +460,6 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
|
|
||||||
# - When to Log -
|
# - When to Log -
|
||||||
|
|
||||||
#client_min_messages = notice # values in order of decreasing detail:
|
|
||||||
# debug5
|
|
||||||
# debug4
|
|
||||||
# debug3
|
|
||||||
# debug2
|
|
||||||
# debug1
|
|
||||||
# log
|
|
||||||
# notice
|
|
||||||
# warning
|
|
||||||
# error
|
|
||||||
|
|
||||||
#log_min_messages = warning # values in order of decreasing detail:
|
#log_min_messages = warning # values in order of decreasing detail:
|
||||||
# debug5
|
# debug5
|
||||||
# debug4
|
# debug4
|
||||||
@ -429,6 +493,9 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
# statements running at least this number
|
# statements running at least this number
|
||||||
# of milliseconds
|
# of milliseconds
|
||||||
|
|
||||||
|
#log_transaction_sample_rate = 0.0 # Fraction of transactions whose statements
|
||||||
|
# are logged regardless of their duration. 1.0 logs all
|
||||||
|
# statements from all transactions, 0.0 never logs.
|
||||||
|
|
||||||
# - What to Log -
|
# - What to Log -
|
||||||
|
|
||||||
@ -464,15 +531,16 @@ log_line_prefix = '%m [%p] %q%u@%d ' # special values:
|
|||||||
# %% = '%'
|
# %% = '%'
|
||||||
# e.g. '<%u%%%d> '
|
# e.g. '<%u%%%d> '
|
||||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||||
#log_statement = 'all' # none, ddl, mod, all
|
#log_statement = 'none' # none, ddl, mod, all
|
||||||
#log_replication_commands = off
|
#log_replication_commands = off
|
||||||
#log_temp_files = -1 # log temporary files equal or larger
|
#log_temp_files = -1 # log temporary files equal or larger
|
||||||
# than the specified size in kilobytes;
|
# than the specified size in kilobytes;
|
||||||
# -1 disables, 0 logs all temp files
|
# -1 disables, 0 logs all temp files
|
||||||
log_timezone = 'Europe/Prague'
|
log_timezone = 'Europe/Prague'
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
# - Process Title -
|
# PROCESS TITLE
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#cluster_name = '' # added to process titles if nonempty
|
#cluster_name = '' # added to process titles if nonempty
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -480,10 +548,10 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# RUNTIME STATISTICS
|
# STATISTICS
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Query/Index Statistics Collector -
|
# - Query and Index Statistics Collector -
|
||||||
|
|
||||||
#track_activities = on
|
#track_activities = on
|
||||||
#track_counts = on
|
#track_counts = on
|
||||||
@ -493,7 +561,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#stats_temp_directory = 'pg_stat_tmp'
|
#stats_temp_directory = 'pg_stat_tmp'
|
||||||
|
|
||||||
|
|
||||||
# - Statistics Monitoring -
|
# - Monitoring -
|
||||||
|
|
||||||
#log_parser_stats = off
|
#log_parser_stats = off
|
||||||
#log_planner_stats = off
|
#log_planner_stats = off
|
||||||
@ -502,7 +570,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# AUTOVACUUM PARAMETERS
|
# AUTOVACUUM
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
||||||
@ -525,7 +593,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
||||||
# before forced vacuum
|
# before forced vacuum
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
|
||||||
# autovacuum, in milliseconds;
|
# autovacuum, in milliseconds;
|
||||||
# -1 means use vacuum_cost_delay
|
# -1 means use vacuum_cost_delay
|
||||||
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
||||||
@ -539,10 +607,22 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
# - Statement Behavior -
|
# - Statement Behavior -
|
||||||
|
|
||||||
|
#client_min_messages = notice # values in order of decreasing detail:
|
||||||
|
# debug5
|
||||||
|
# debug4
|
||||||
|
# debug3
|
||||||
|
# debug2
|
||||||
|
# debug1
|
||||||
|
# log
|
||||||
|
# notice
|
||||||
|
# warning
|
||||||
|
# error
|
||||||
#search_path = '"$user", public' # schema names
|
#search_path = '"$user", public' # schema names
|
||||||
|
#row_security = on
|
||||||
#default_tablespace = '' # a tablespace name, '' uses the default
|
#default_tablespace = '' # a tablespace name, '' uses the default
|
||||||
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
||||||
# only default tablespace
|
# only default tablespace
|
||||||
|
#default_table_access_method = 'heap'
|
||||||
#check_function_bodies = on
|
#check_function_bodies = on
|
||||||
#default_transaction_isolation = 'read committed'
|
#default_transaction_isolation = 'read committed'
|
||||||
#default_transaction_read_only = off
|
#default_transaction_read_only = off
|
||||||
@ -555,6 +635,9 @@ log_timezone = 'Europe/Prague'
|
|||||||
#vacuum_freeze_table_age = 150000000
|
#vacuum_freeze_table_age = 150000000
|
||||||
#vacuum_multixact_freeze_min_age = 5000000
|
#vacuum_multixact_freeze_min_age = 5000000
|
||||||
#vacuum_multixact_freeze_table_age = 150000000
|
#vacuum_multixact_freeze_table_age = 150000000
|
||||||
|
#vacuum_cleanup_index_scale_factor = 0.1 # fraction of total number of tuples
|
||||||
|
# before index cleanup, 0 always performs
|
||||||
|
# index cleanup
|
||||||
#bytea_output = 'hex' # hex, escape
|
#bytea_output = 'hex' # hex, escape
|
||||||
#xmlbinary = 'base64'
|
#xmlbinary = 'base64'
|
||||||
#xmloption = 'content'
|
#xmloption = 'content'
|
||||||
@ -573,7 +656,8 @@ timezone = 'Europe/Prague'
|
|||||||
# India
|
# India
|
||||||
# You can create your own file in
|
# You can create your own file in
|
||||||
# share/timezonesets/.
|
# share/timezonesets/.
|
||||||
#extra_float_digits = 0 # min -15, max 3
|
#extra_float_digits = 1 # min -15, max 3; any value >0 actually
|
||||||
|
# selects precise output mode
|
||||||
#client_encoding = sql_ascii # actually, defaults to database
|
#client_encoding = sql_ascii # actually, defaults to database
|
||||||
# encoding
|
# encoding
|
||||||
|
|
||||||
@ -587,11 +671,16 @@ lc_time = 'C' # locale for time formatting
|
|||||||
# default configuration for text search
|
# default configuration for text search
|
||||||
default_text_search_config = 'pg_catalog.english'
|
default_text_search_config = 'pg_catalog.english'
|
||||||
|
|
||||||
|
# - Shared Library Preloading -
|
||||||
|
|
||||||
|
#shared_preload_libraries = '' # (change requires restart)
|
||||||
|
#local_preload_libraries = ''
|
||||||
|
#session_preload_libraries = ''
|
||||||
|
#jit_provider = 'llvmjit' # JIT library to use
|
||||||
|
|
||||||
# - Other Defaults -
|
# - Other Defaults -
|
||||||
|
|
||||||
#dynamic_library_path = '$libdir'
|
#dynamic_library_path = '$libdir'
|
||||||
#local_preload_libraries = ''
|
|
||||||
#session_preload_libraries = ''
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -610,14 +699,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# VERSION/PLATFORM COMPATIBILITY
|
# VERSION AND PLATFORM COMPATIBILITY
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Previous PostgreSQL Versions -
|
# - Previous PostgreSQL Versions -
|
||||||
|
|
||||||
#array_nulls = on
|
#array_nulls = on
|
||||||
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
||||||
#default_with_oids = off
|
|
||||||
#escape_string_warning = on
|
#escape_string_warning = on
|
||||||
#lo_compat_privileges = off
|
#lo_compat_privileges = off
|
||||||
#operator_precedence_warning = off
|
#operator_precedence_warning = off
|
||||||
@ -636,6 +724,9 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
#exit_on_error = off # terminate session on any error?
|
#exit_on_error = off # terminate session on any error?
|
||||||
#restart_after_crash = on # reinitialize after backend crash?
|
#restart_after_crash = on # reinitialize after backend crash?
|
||||||
|
#data_sync_retry = off # retry or panic on failure to fsync
|
||||||
|
# data?
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -643,12 +734,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# These options allow settings to be loaded from files other than the
|
# These options allow settings to be loaded from files other than the
|
||||||
# default postgresql.conf.
|
# default postgresql.conf. Note that these are directives, not variable
|
||||||
|
# assignments, so they can usefully be given more than once.
|
||||||
|
|
||||||
#include_dir = 'conf.d' # include files ending in '.conf' from
|
#include_dir = '...' # include files ending in '.conf' from
|
||||||
# directory 'conf.d'
|
# a directory, e.g., 'conf.d'
|
||||||
#include_if_exists = 'exists.conf' # include file only if it exists
|
#include_if_exists = '...' # include file only if it exists
|
||||||
#include = 'special.conf' # include file
|
#include = '...' # include file
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
@ -73,27 +73,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
#bonjour_name = '' # defaults to the computer name
|
#bonjour_name = '' # defaults to the computer name
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Security and Authentication -
|
# - TCP settings -
|
||||||
|
|
||||||
#authentication_timeout = 1min # 1s-600s
|
|
||||||
#ssl = off
|
|
||||||
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
||||||
#ssl_prefer_server_ciphers = on
|
|
||||||
#ssl_ecdh_curve = 'prime256v1'
|
|
||||||
#ssl_dh_params_file = ''
|
|
||||||
#ssl_cert_file = 'server.crt'
|
|
||||||
#ssl_key_file = 'server.key'
|
|
||||||
#ssl_ca_file = ''
|
|
||||||
#ssl_crl_file = ''
|
|
||||||
#password_encryption = md5 # md5 or scram-sha-256
|
|
||||||
#db_user_namespace = off
|
|
||||||
#row_security = on
|
|
||||||
|
|
||||||
# GSSAPI using Kerberos
|
|
||||||
#krb_server_keyfile = ''
|
|
||||||
#krb_caseins_users = off
|
|
||||||
|
|
||||||
# - TCP Keepalives -
|
|
||||||
# see "man 7 tcp" for details
|
# see "man 7 tcp" for details
|
||||||
|
|
||||||
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
||||||
@ -102,6 +82,34 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
|
#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
|
||||||
|
# 0 selects the system default
|
||||||
|
|
||||||
|
# - Authentication -
|
||||||
|
|
||||||
|
#authentication_timeout = 1min # 1s-600s
|
||||||
|
#password_encryption = md5 # md5 or scram-sha-256
|
||||||
|
#db_user_namespace = off
|
||||||
|
|
||||||
|
# GSSAPI using Kerberos
|
||||||
|
#krb_server_keyfile = ''
|
||||||
|
#krb_caseins_users = off
|
||||||
|
|
||||||
|
# - SSL -
|
||||||
|
|
||||||
|
#ssl = off
|
||||||
|
#ssl_ca_file = ''
|
||||||
|
#ssl_cert_file = 'server.crt'
|
||||||
|
#ssl_crl_file = ''
|
||||||
|
#ssl_key_file = 'server.key'
|
||||||
|
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
||||||
|
#ssl_prefer_server_ciphers = on
|
||||||
|
#ssl_ecdh_curve = 'prime256v1'
|
||||||
|
#ssl_min_protocol_version = 'TLSv1'
|
||||||
|
#ssl_max_protocol_version = ''
|
||||||
|
#ssl_dh_params_file = ''
|
||||||
|
#ssl_passphrase_command = ''
|
||||||
|
#ssl_passphrase_command_supports_reload = off
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -110,7 +118,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
|
|
||||||
# - Memory -
|
# - Memory -
|
||||||
|
|
||||||
shared_buffers = 192MB # min 128kB
|
shared_buffers = 128MB # min 128kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#huge_pages = try # on, off, or try
|
#huge_pages = try # on, off, or try
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -121,16 +129,20 @@ shared_buffers = 192MB # min 128kB
|
|||||||
# you actively intend to use prepared transactions.
|
# you actively intend to use prepared transactions.
|
||||||
#work_mem = 4MB # min 64kB
|
#work_mem = 4MB # min 64kB
|
||||||
#maintenance_work_mem = 64MB # min 1MB
|
#maintenance_work_mem = 64MB # min 1MB
|
||||||
#replacement_sort_tuples = 150000 # limits use of replacement selection sort
|
|
||||||
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
||||||
#max_stack_depth = 2MB # min 100kB
|
#max_stack_depth = 2MB # min 100kB
|
||||||
|
#shared_memory_type = mmap # the default is the first option
|
||||||
|
# supported by the operating system:
|
||||||
|
# mmap
|
||||||
|
# sysv
|
||||||
|
# windows
|
||||||
|
# (change requires restart)
|
||||||
dynamic_shared_memory_type = posix # the default is the first option
|
dynamic_shared_memory_type = posix # the default is the first option
|
||||||
# supported by the operating system:
|
# supported by the operating system:
|
||||||
# posix
|
# posix
|
||||||
# sysv
|
# sysv
|
||||||
# windows
|
# windows
|
||||||
# mmap
|
# mmap
|
||||||
# use none to disable dynamic shared memory
|
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Disk -
|
# - Disk -
|
||||||
@ -138,15 +150,14 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
#temp_file_limit = -1 # limits per-process temp file space
|
#temp_file_limit = -1 # limits per-process temp file space
|
||||||
# in kB, or -1 for no limit
|
# in kB, or -1 for no limit
|
||||||
|
|
||||||
# - Kernel Resource Usage -
|
# - Kernel Resources -
|
||||||
|
|
||||||
#max_files_per_process = 1000 # min 25
|
#max_files_per_process = 1000 # min 25
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#shared_preload_libraries = '' # (change requires restart)
|
|
||||||
|
|
||||||
# - Cost-Based Vacuum Delay -
|
# - Cost-Based Vacuum Delay -
|
||||||
|
|
||||||
#vacuum_cost_delay = 0 # 0-100 milliseconds
|
#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
|
||||||
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
||||||
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
||||||
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
||||||
@ -155,7 +166,7 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
# - Background Writer -
|
# - Background Writer -
|
||||||
|
|
||||||
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
||||||
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
|
#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
|
||||||
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
||||||
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
||||||
|
|
||||||
@ -163,16 +174,18 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
|
|
||||||
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
||||||
#max_worker_processes = 8 # (change requires restart)
|
#max_worker_processes = 8 # (change requires restart)
|
||||||
|
#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
|
||||||
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
||||||
|
#parallel_leader_participation = on
|
||||||
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
||||||
# can be used in parallel queries
|
# can be used in parallel operations
|
||||||
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#backend_flush_after = 0 # measured in pages, 0 disables
|
#backend_flush_after = 0 # measured in pages, 0 disables
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# WRITE AHEAD LOG
|
# WRITE-AHEAD LOG
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Settings -
|
# - Settings -
|
||||||
@ -180,8 +193,8 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
wal_level = minimal # minimal, replica, or logical
|
wal_level = minimal # minimal, replica, or logical
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#fsync = on # flush data to disk for crash safety
|
#fsync = on # flush data to disk for crash safety
|
||||||
# (turning this off can cause
|
# (turning this off can cause
|
||||||
# unrecoverable data corruption)
|
# unrecoverable data corruption)
|
||||||
#synchronous_commit = on # synchronization level;
|
#synchronous_commit = on # synchronization level;
|
||||||
# off, local, remote_write, remote_apply, or on
|
# off, local, remote_write, remote_apply, or on
|
||||||
#wal_sync_method = fsync # the default is the first option
|
#wal_sync_method = fsync # the default is the first option
|
||||||
@ -195,6 +208,8 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#wal_compression = off # enable compression of full-page writes
|
#wal_compression = off # enable compression of full-page writes
|
||||||
#wal_log_hints = off # also do full page writes of non-critical updates
|
#wal_log_hints = off # also do full page writes of non-critical updates
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
#wal_init_zero = on # zero-fill new WAL files
|
||||||
|
#wal_recycle = on # recycle WAL files
|
||||||
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
||||||
@ -223,18 +238,54 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#archive_timeout = 0 # force a logfile segment switch after this
|
#archive_timeout = 0 # force a logfile segment switch after this
|
||||||
# number of seconds; 0 disables
|
# number of seconds; 0 disables
|
||||||
|
|
||||||
|
# - Archive Recovery -
|
||||||
|
|
||||||
|
# These are only used in recovery mode.
|
||||||
|
|
||||||
|
#restore_command = '' # command to use to restore an archived logfile segment
|
||||||
|
# placeholders: %p = path of file to restore
|
||||||
|
# %f = file name only
|
||||||
|
# e.g. 'cp /mnt/server/archivedir/%f %p'
|
||||||
|
# (change requires restart)
|
||||||
|
#archive_cleanup_command = '' # command to execute at every restartpoint
|
||||||
|
#recovery_end_command = '' # command to execute at completion of recovery
|
||||||
|
|
||||||
|
# - Recovery Target -
|
||||||
|
|
||||||
|
# Set these only when performing a targeted recovery.
|
||||||
|
|
||||||
|
#recovery_target = '' # 'immediate' to end recovery as soon as a
|
||||||
|
# consistent state is reached
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_name = '' # the named restore point to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_time = '' # the time stamp up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_inclusive = on # Specifies whether to stop:
|
||||||
|
# just after the specified recovery target (on)
|
||||||
|
# just before the recovery target (off)
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# REPLICATION
|
# REPLICATION
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Sending Server(s) -
|
# - Sending Servers -
|
||||||
|
|
||||||
# Set these on the master and on any standby that will send replication data.
|
# Set these on the master and on any standby that will send replication data.
|
||||||
|
|
||||||
max_wal_senders = 0 # max number of walsender processes
|
max_wal_senders = 0 # max number of walsender processes
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
#wal_keep_segments = 0 # in logfile segments; 0 disables
|
||||||
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
||||||
|
|
||||||
max_replication_slots = 0 # max number of replication slots
|
max_replication_slots = 0 # max number of replication slots
|
||||||
@ -256,6 +307,11 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
|
|
||||||
# These settings are ignored on a master server.
|
# These settings are ignored on a master server.
|
||||||
|
|
||||||
|
#primary_conninfo = '' # connection string to sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#primary_slot_name = '' # replication slot on sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#promote_trigger_file = '' # file name whose presence ends recovery
|
||||||
#hot_standby = on # "off" disallows queries during recovery
|
#hot_standby = on # "off" disallows queries during recovery
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#max_standby_archive_delay = 30s # max delay before canceling queries
|
#max_standby_archive_delay = 30s # max delay before canceling queries
|
||||||
@ -273,6 +329,7 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
# in milliseconds; 0 disables
|
# in milliseconds; 0 disables
|
||||||
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
||||||
# retrieve WAL after a failed attempt
|
# retrieve WAL after a failed attempt
|
||||||
|
#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
|
||||||
|
|
||||||
# - Subscribers -
|
# - Subscribers -
|
||||||
|
|
||||||
@ -297,9 +354,14 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#enable_material = on
|
#enable_material = on
|
||||||
#enable_mergejoin = on
|
#enable_mergejoin = on
|
||||||
#enable_nestloop = on
|
#enable_nestloop = on
|
||||||
|
#enable_parallel_append = on
|
||||||
#enable_seqscan = on
|
#enable_seqscan = on
|
||||||
#enable_sort = on
|
#enable_sort = on
|
||||||
#enable_tidscan = on
|
#enable_tidscan = on
|
||||||
|
#enable_partitionwise_join = off
|
||||||
|
#enable_partitionwise_aggregate = off
|
||||||
|
#enable_parallel_hash = on
|
||||||
|
#enable_partition_pruning = on
|
||||||
|
|
||||||
# - Planner Cost Constants -
|
# - Planner Cost Constants -
|
||||||
|
|
||||||
@ -310,6 +372,16 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#cpu_operator_cost = 0.0025 # same scale as above
|
#cpu_operator_cost = 0.0025 # same scale as above
|
||||||
#parallel_tuple_cost = 0.1 # same scale as above
|
#parallel_tuple_cost = 0.1 # same scale as above
|
||||||
#parallel_setup_cost = 1000.0 # same scale as above
|
#parallel_setup_cost = 1000.0 # same scale as above
|
||||||
|
|
||||||
|
#jit_above_cost = 100000 # perform JIT compilation if available
|
||||||
|
# and query more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
#jit_inline_above_cost = 500000 # inline small functions if query is
|
||||||
|
# more expensive than this; -1 disables
|
||||||
|
#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
|
||||||
|
# query is more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
|
||||||
#min_parallel_table_scan_size = 8MB
|
#min_parallel_table_scan_size = 8MB
|
||||||
#min_parallel_index_scan_size = 512kB
|
#min_parallel_index_scan_size = 512kB
|
||||||
#effective_cache_size = 4GB
|
#effective_cache_size = 4GB
|
||||||
@ -333,10 +405,13 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
||||||
# JOIN clauses
|
# JOIN clauses
|
||||||
#force_parallel_mode = off
|
#force_parallel_mode = off
|
||||||
|
#jit = on # allow JIT compilation
|
||||||
|
#plan_cache_mode = auto # auto, force_generic_plan or
|
||||||
|
# force_custom_plan
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# ERROR REPORTING AND LOGGING
|
# REPORTING AND LOGGING
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Where to Log -
|
# - Where to Log -
|
||||||
@ -385,17 +460,6 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
|
|
||||||
# - When to Log -
|
# - When to Log -
|
||||||
|
|
||||||
#client_min_messages = notice # values in order of decreasing detail:
|
|
||||||
# debug5
|
|
||||||
# debug4
|
|
||||||
# debug3
|
|
||||||
# debug2
|
|
||||||
# debug1
|
|
||||||
# log
|
|
||||||
# notice
|
|
||||||
# warning
|
|
||||||
# error
|
|
||||||
|
|
||||||
#log_min_messages = warning # values in order of decreasing detail:
|
#log_min_messages = warning # values in order of decreasing detail:
|
||||||
# debug5
|
# debug5
|
||||||
# debug4
|
# debug4
|
||||||
@ -429,6 +493,9 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
# statements running at least this number
|
# statements running at least this number
|
||||||
# of milliseconds
|
# of milliseconds
|
||||||
|
|
||||||
|
#log_transaction_sample_rate = 0.0 # Fraction of transactions whose statements
|
||||||
|
# are logged regardless of their duration. 1.0 logs all
|
||||||
|
# statements from all transactions, 0.0 never logs.
|
||||||
|
|
||||||
# - What to Log -
|
# - What to Log -
|
||||||
|
|
||||||
@ -464,15 +531,16 @@ log_line_prefix = '%m [%p] %q%u@%d ' # special values:
|
|||||||
# %% = '%'
|
# %% = '%'
|
||||||
# e.g. '<%u%%%d> '
|
# e.g. '<%u%%%d> '
|
||||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||||
#log_statement = 'all' # none, ddl, mod, all
|
#log_statement = 'none' # none, ddl, mod, all
|
||||||
#log_replication_commands = off
|
#log_replication_commands = off
|
||||||
#log_temp_files = -1 # log temporary files equal or larger
|
#log_temp_files = -1 # log temporary files equal or larger
|
||||||
# than the specified size in kilobytes;
|
# than the specified size in kilobytes;
|
||||||
# -1 disables, 0 logs all temp files
|
# -1 disables, 0 logs all temp files
|
||||||
log_timezone = 'Europe/Prague'
|
log_timezone = 'Europe/Prague'
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
# - Process Title -
|
# PROCESS TITLE
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#cluster_name = '' # added to process titles if nonempty
|
#cluster_name = '' # added to process titles if nonempty
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -480,10 +548,10 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# RUNTIME STATISTICS
|
# STATISTICS
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Query/Index Statistics Collector -
|
# - Query and Index Statistics Collector -
|
||||||
|
|
||||||
#track_activities = on
|
#track_activities = on
|
||||||
#track_counts = on
|
#track_counts = on
|
||||||
@ -493,7 +561,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#stats_temp_directory = 'pg_stat_tmp'
|
#stats_temp_directory = 'pg_stat_tmp'
|
||||||
|
|
||||||
|
|
||||||
# - Statistics Monitoring -
|
# - Monitoring -
|
||||||
|
|
||||||
#log_parser_stats = off
|
#log_parser_stats = off
|
||||||
#log_planner_stats = off
|
#log_planner_stats = off
|
||||||
@ -502,7 +570,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# AUTOVACUUM PARAMETERS
|
# AUTOVACUUM
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
||||||
@ -525,7 +593,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
||||||
# before forced vacuum
|
# before forced vacuum
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
|
||||||
# autovacuum, in milliseconds;
|
# autovacuum, in milliseconds;
|
||||||
# -1 means use vacuum_cost_delay
|
# -1 means use vacuum_cost_delay
|
||||||
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
||||||
@ -539,10 +607,22 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
# - Statement Behavior -
|
# - Statement Behavior -
|
||||||
|
|
||||||
|
#client_min_messages = notice # values in order of decreasing detail:
|
||||||
|
# debug5
|
||||||
|
# debug4
|
||||||
|
# debug3
|
||||||
|
# debug2
|
||||||
|
# debug1
|
||||||
|
# log
|
||||||
|
# notice
|
||||||
|
# warning
|
||||||
|
# error
|
||||||
#search_path = '"$user", public' # schema names
|
#search_path = '"$user", public' # schema names
|
||||||
|
#row_security = on
|
||||||
#default_tablespace = '' # a tablespace name, '' uses the default
|
#default_tablespace = '' # a tablespace name, '' uses the default
|
||||||
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
||||||
# only default tablespace
|
# only default tablespace
|
||||||
|
#default_table_access_method = 'heap'
|
||||||
#check_function_bodies = on
|
#check_function_bodies = on
|
||||||
#default_transaction_isolation = 'read committed'
|
#default_transaction_isolation = 'read committed'
|
||||||
#default_transaction_read_only = off
|
#default_transaction_read_only = off
|
||||||
@ -555,6 +635,9 @@ log_timezone = 'Europe/Prague'
|
|||||||
#vacuum_freeze_table_age = 150000000
|
#vacuum_freeze_table_age = 150000000
|
||||||
#vacuum_multixact_freeze_min_age = 5000000
|
#vacuum_multixact_freeze_min_age = 5000000
|
||||||
#vacuum_multixact_freeze_table_age = 150000000
|
#vacuum_multixact_freeze_table_age = 150000000
|
||||||
|
#vacuum_cleanup_index_scale_factor = 0.1 # fraction of total number of tuples
|
||||||
|
# before index cleanup, 0 always performs
|
||||||
|
# index cleanup
|
||||||
#bytea_output = 'hex' # hex, escape
|
#bytea_output = 'hex' # hex, escape
|
||||||
#xmlbinary = 'base64'
|
#xmlbinary = 'base64'
|
||||||
#xmloption = 'content'
|
#xmloption = 'content'
|
||||||
@ -573,7 +656,8 @@ timezone = 'Europe/Prague'
|
|||||||
# India
|
# India
|
||||||
# You can create your own file in
|
# You can create your own file in
|
||||||
# share/timezonesets/.
|
# share/timezonesets/.
|
||||||
#extra_float_digits = 0 # min -15, max 3
|
#extra_float_digits = 1 # min -15, max 3; any value >0 actually
|
||||||
|
# selects precise output mode
|
||||||
#client_encoding = sql_ascii # actually, defaults to database
|
#client_encoding = sql_ascii # actually, defaults to database
|
||||||
# encoding
|
# encoding
|
||||||
|
|
||||||
@ -587,11 +671,16 @@ lc_time = 'C' # locale for time formatting
|
|||||||
# default configuration for text search
|
# default configuration for text search
|
||||||
default_text_search_config = 'pg_catalog.english'
|
default_text_search_config = 'pg_catalog.english'
|
||||||
|
|
||||||
|
# - Shared Library Preloading -
|
||||||
|
|
||||||
|
#shared_preload_libraries = '' # (change requires restart)
|
||||||
|
#local_preload_libraries = ''
|
||||||
|
#session_preload_libraries = ''
|
||||||
|
#jit_provider = 'llvmjit' # JIT library to use
|
||||||
|
|
||||||
# - Other Defaults -
|
# - Other Defaults -
|
||||||
|
|
||||||
#dynamic_library_path = '$libdir'
|
#dynamic_library_path = '$libdir'
|
||||||
#local_preload_libraries = ''
|
|
||||||
#session_preload_libraries = ''
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -610,14 +699,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# VERSION/PLATFORM COMPATIBILITY
|
# VERSION AND PLATFORM COMPATIBILITY
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Previous PostgreSQL Versions -
|
# - Previous PostgreSQL Versions -
|
||||||
|
|
||||||
#array_nulls = on
|
#array_nulls = on
|
||||||
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
||||||
#default_with_oids = off
|
|
||||||
#escape_string_warning = on
|
#escape_string_warning = on
|
||||||
#lo_compat_privileges = off
|
#lo_compat_privileges = off
|
||||||
#operator_precedence_warning = off
|
#operator_precedence_warning = off
|
||||||
@ -636,6 +724,9 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
#exit_on_error = off # terminate session on any error?
|
#exit_on_error = off # terminate session on any error?
|
||||||
#restart_after_crash = on # reinitialize after backend crash?
|
#restart_after_crash = on # reinitialize after backend crash?
|
||||||
|
#data_sync_retry = off # retry or panic on failure to fsync
|
||||||
|
# data?
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -643,12 +734,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# These options allow settings to be loaded from files other than the
|
# These options allow settings to be loaded from files other than the
|
||||||
# default postgresql.conf.
|
# default postgresql.conf. Note that these are directives, not variable
|
||||||
|
# assignments, so they can usefully be given more than once.
|
||||||
|
|
||||||
#include_dir = 'conf.d' # include files ending in '.conf' from
|
#include_dir = '...' # include files ending in '.conf' from
|
||||||
# directory 'conf.d'
|
# a directory, e.g., 'conf.d'
|
||||||
#include_if_exists = 'exists.conf' # include file only if it exists
|
#include_if_exists = '...' # include file only if it exists
|
||||||
#include = 'special.conf' # include file
|
#include = '...' # include file
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
@ -73,27 +73,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
#bonjour_name = '' # defaults to the computer name
|
#bonjour_name = '' # defaults to the computer name
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Security and Authentication -
|
# - TCP settings -
|
||||||
|
|
||||||
#authentication_timeout = 1min # 1s-600s
|
|
||||||
#ssl = off
|
|
||||||
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
||||||
#ssl_prefer_server_ciphers = on
|
|
||||||
#ssl_ecdh_curve = 'prime256v1'
|
|
||||||
#ssl_dh_params_file = ''
|
|
||||||
#ssl_cert_file = 'server.crt'
|
|
||||||
#ssl_key_file = 'server.key'
|
|
||||||
#ssl_ca_file = ''
|
|
||||||
#ssl_crl_file = ''
|
|
||||||
#password_encryption = md5 # md5 or scram-sha-256
|
|
||||||
#db_user_namespace = off
|
|
||||||
#row_security = on
|
|
||||||
|
|
||||||
# GSSAPI using Kerberos
|
|
||||||
#krb_server_keyfile = ''
|
|
||||||
#krb_caseins_users = off
|
|
||||||
|
|
||||||
# - TCP Keepalives -
|
|
||||||
# see "man 7 tcp" for details
|
# see "man 7 tcp" for details
|
||||||
|
|
||||||
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
||||||
@ -102,6 +82,34 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
|
#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
|
||||||
|
# 0 selects the system default
|
||||||
|
|
||||||
|
# - Authentication -
|
||||||
|
|
||||||
|
#authentication_timeout = 1min # 1s-600s
|
||||||
|
#password_encryption = md5 # md5 or scram-sha-256
|
||||||
|
#db_user_namespace = off
|
||||||
|
|
||||||
|
# GSSAPI using Kerberos
|
||||||
|
#krb_server_keyfile = ''
|
||||||
|
#krb_caseins_users = off
|
||||||
|
|
||||||
|
# - SSL -
|
||||||
|
|
||||||
|
#ssl = off
|
||||||
|
#ssl_ca_file = ''
|
||||||
|
#ssl_cert_file = 'server.crt'
|
||||||
|
#ssl_crl_file = ''
|
||||||
|
#ssl_key_file = 'server.key'
|
||||||
|
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
||||||
|
#ssl_prefer_server_ciphers = on
|
||||||
|
#ssl_ecdh_curve = 'prime256v1'
|
||||||
|
#ssl_min_protocol_version = 'TLSv1'
|
||||||
|
#ssl_max_protocol_version = ''
|
||||||
|
#ssl_dh_params_file = ''
|
||||||
|
#ssl_passphrase_command = ''
|
||||||
|
#ssl_passphrase_command_supports_reload = off
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -110,7 +118,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
|
|
||||||
# - Memory -
|
# - Memory -
|
||||||
|
|
||||||
shared_buffers = 192MB # min 128kB
|
shared_buffers = 128MB # min 128kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#huge_pages = try # on, off, or try
|
#huge_pages = try # on, off, or try
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -121,16 +129,20 @@ shared_buffers = 192MB # min 128kB
|
|||||||
# you actively intend to use prepared transactions.
|
# you actively intend to use prepared transactions.
|
||||||
#work_mem = 4MB # min 64kB
|
#work_mem = 4MB # min 64kB
|
||||||
#maintenance_work_mem = 64MB # min 1MB
|
#maintenance_work_mem = 64MB # min 1MB
|
||||||
#replacement_sort_tuples = 150000 # limits use of replacement selection sort
|
|
||||||
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
||||||
#max_stack_depth = 2MB # min 100kB
|
#max_stack_depth = 2MB # min 100kB
|
||||||
|
#shared_memory_type = mmap # the default is the first option
|
||||||
|
# supported by the operating system:
|
||||||
|
# mmap
|
||||||
|
# sysv
|
||||||
|
# windows
|
||||||
|
# (change requires restart)
|
||||||
dynamic_shared_memory_type = posix # the default is the first option
|
dynamic_shared_memory_type = posix # the default is the first option
|
||||||
# supported by the operating system:
|
# supported by the operating system:
|
||||||
# posix
|
# posix
|
||||||
# sysv
|
# sysv
|
||||||
# windows
|
# windows
|
||||||
# mmap
|
# mmap
|
||||||
# use none to disable dynamic shared memory
|
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Disk -
|
# - Disk -
|
||||||
@ -138,15 +150,14 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
#temp_file_limit = -1 # limits per-process temp file space
|
#temp_file_limit = -1 # limits per-process temp file space
|
||||||
# in kB, or -1 for no limit
|
# in kB, or -1 for no limit
|
||||||
|
|
||||||
# - Kernel Resource Usage -
|
# - Kernel Resources -
|
||||||
|
|
||||||
#max_files_per_process = 1000 # min 25
|
#max_files_per_process = 1000 # min 25
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#shared_preload_libraries = '' # (change requires restart)
|
|
||||||
|
|
||||||
# - Cost-Based Vacuum Delay -
|
# - Cost-Based Vacuum Delay -
|
||||||
|
|
||||||
#vacuum_cost_delay = 0 # 0-100 milliseconds
|
#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
|
||||||
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
||||||
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
||||||
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
||||||
@ -155,7 +166,7 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
# - Background Writer -
|
# - Background Writer -
|
||||||
|
|
||||||
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
||||||
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
|
#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
|
||||||
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
||||||
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
||||||
|
|
||||||
@ -163,16 +174,18 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
|
|
||||||
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
||||||
#max_worker_processes = 8 # (change requires restart)
|
#max_worker_processes = 8 # (change requires restart)
|
||||||
|
#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
|
||||||
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
||||||
|
#parallel_leader_participation = on
|
||||||
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
||||||
# can be used in parallel queries
|
# can be used in parallel operations
|
||||||
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#backend_flush_after = 0 # measured in pages, 0 disables
|
#backend_flush_after = 0 # measured in pages, 0 disables
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# WRITE AHEAD LOG
|
# WRITE-AHEAD LOG
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Settings -
|
# - Settings -
|
||||||
@ -180,8 +193,8 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
wal_level = minimal # minimal, replica, or logical
|
wal_level = minimal # minimal, replica, or logical
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#fsync = on # flush data to disk for crash safety
|
#fsync = on # flush data to disk for crash safety
|
||||||
# (turning this off can cause
|
# (turning this off can cause
|
||||||
# unrecoverable data corruption)
|
# unrecoverable data corruption)
|
||||||
#synchronous_commit = on # synchronization level;
|
#synchronous_commit = on # synchronization level;
|
||||||
# off, local, remote_write, remote_apply, or on
|
# off, local, remote_write, remote_apply, or on
|
||||||
#wal_sync_method = fsync # the default is the first option
|
#wal_sync_method = fsync # the default is the first option
|
||||||
@ -195,6 +208,8 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#wal_compression = off # enable compression of full-page writes
|
#wal_compression = off # enable compression of full-page writes
|
||||||
#wal_log_hints = off # also do full page writes of non-critical updates
|
#wal_log_hints = off # also do full page writes of non-critical updates
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
#wal_init_zero = on # zero-fill new WAL files
|
||||||
|
#wal_recycle = on # recycle WAL files
|
||||||
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
||||||
@ -223,18 +238,54 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#archive_timeout = 0 # force a logfile segment switch after this
|
#archive_timeout = 0 # force a logfile segment switch after this
|
||||||
# number of seconds; 0 disables
|
# number of seconds; 0 disables
|
||||||
|
|
||||||
|
# - Archive Recovery -
|
||||||
|
|
||||||
|
# These are only used in recovery mode.
|
||||||
|
|
||||||
|
#restore_command = '' # command to use to restore an archived logfile segment
|
||||||
|
# placeholders: %p = path of file to restore
|
||||||
|
# %f = file name only
|
||||||
|
# e.g. 'cp /mnt/server/archivedir/%f %p'
|
||||||
|
# (change requires restart)
|
||||||
|
#archive_cleanup_command = '' # command to execute at every restartpoint
|
||||||
|
#recovery_end_command = '' # command to execute at completion of recovery
|
||||||
|
|
||||||
|
# - Recovery Target -
|
||||||
|
|
||||||
|
# Set these only when performing a targeted recovery.
|
||||||
|
|
||||||
|
#recovery_target = '' # 'immediate' to end recovery as soon as a
|
||||||
|
# consistent state is reached
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_name = '' # the named restore point to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_time = '' # the time stamp up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_inclusive = on # Specifies whether to stop:
|
||||||
|
# just after the specified recovery target (on)
|
||||||
|
# just before the recovery target (off)
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# REPLICATION
|
# REPLICATION
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Sending Server(s) -
|
# - Sending Servers -
|
||||||
|
|
||||||
# Set these on the master and on any standby that will send replication data.
|
# Set these on the master and on any standby that will send replication data.
|
||||||
|
|
||||||
max_wal_senders = 0 # max number of walsender processes
|
max_wal_senders = 0 # max number of walsender processes
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
#wal_keep_segments = 0 # in logfile segments; 0 disables
|
||||||
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
||||||
|
|
||||||
max_replication_slots = 0 # max number of replication slots
|
max_replication_slots = 0 # max number of replication slots
|
||||||
@ -256,6 +307,11 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
|
|
||||||
# These settings are ignored on a master server.
|
# These settings are ignored on a master server.
|
||||||
|
|
||||||
|
#primary_conninfo = '' # connection string to sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#primary_slot_name = '' # replication slot on sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#promote_trigger_file = '' # file name whose presence ends recovery
|
||||||
#hot_standby = on # "off" disallows queries during recovery
|
#hot_standby = on # "off" disallows queries during recovery
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#max_standby_archive_delay = 30s # max delay before canceling queries
|
#max_standby_archive_delay = 30s # max delay before canceling queries
|
||||||
@ -273,6 +329,7 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
# in milliseconds; 0 disables
|
# in milliseconds; 0 disables
|
||||||
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
||||||
# retrieve WAL after a failed attempt
|
# retrieve WAL after a failed attempt
|
||||||
|
#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
|
||||||
|
|
||||||
# - Subscribers -
|
# - Subscribers -
|
||||||
|
|
||||||
@ -297,9 +354,14 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#enable_material = on
|
#enable_material = on
|
||||||
#enable_mergejoin = on
|
#enable_mergejoin = on
|
||||||
#enable_nestloop = on
|
#enable_nestloop = on
|
||||||
|
#enable_parallel_append = on
|
||||||
#enable_seqscan = on
|
#enable_seqscan = on
|
||||||
#enable_sort = on
|
#enable_sort = on
|
||||||
#enable_tidscan = on
|
#enable_tidscan = on
|
||||||
|
#enable_partitionwise_join = off
|
||||||
|
#enable_partitionwise_aggregate = off
|
||||||
|
#enable_parallel_hash = on
|
||||||
|
#enable_partition_pruning = on
|
||||||
|
|
||||||
# - Planner Cost Constants -
|
# - Planner Cost Constants -
|
||||||
|
|
||||||
@ -310,6 +372,16 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#cpu_operator_cost = 0.0025 # same scale as above
|
#cpu_operator_cost = 0.0025 # same scale as above
|
||||||
#parallel_tuple_cost = 0.1 # same scale as above
|
#parallel_tuple_cost = 0.1 # same scale as above
|
||||||
#parallel_setup_cost = 1000.0 # same scale as above
|
#parallel_setup_cost = 1000.0 # same scale as above
|
||||||
|
|
||||||
|
#jit_above_cost = 100000 # perform JIT compilation if available
|
||||||
|
# and query more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
#jit_inline_above_cost = 500000 # inline small functions if query is
|
||||||
|
# more expensive than this; -1 disables
|
||||||
|
#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
|
||||||
|
# query is more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
|
||||||
#min_parallel_table_scan_size = 8MB
|
#min_parallel_table_scan_size = 8MB
|
||||||
#min_parallel_index_scan_size = 512kB
|
#min_parallel_index_scan_size = 512kB
|
||||||
#effective_cache_size = 4GB
|
#effective_cache_size = 4GB
|
||||||
@ -333,10 +405,13 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
||||||
# JOIN clauses
|
# JOIN clauses
|
||||||
#force_parallel_mode = off
|
#force_parallel_mode = off
|
||||||
|
#jit = on # allow JIT compilation
|
||||||
|
#plan_cache_mode = auto # auto, force_generic_plan or
|
||||||
|
# force_custom_plan
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# ERROR REPORTING AND LOGGING
|
# REPORTING AND LOGGING
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Where to Log -
|
# - Where to Log -
|
||||||
@ -385,17 +460,6 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
|
|
||||||
# - When to Log -
|
# - When to Log -
|
||||||
|
|
||||||
#client_min_messages = notice # values in order of decreasing detail:
|
|
||||||
# debug5
|
|
||||||
# debug4
|
|
||||||
# debug3
|
|
||||||
# debug2
|
|
||||||
# debug1
|
|
||||||
# log
|
|
||||||
# notice
|
|
||||||
# warning
|
|
||||||
# error
|
|
||||||
|
|
||||||
#log_min_messages = warning # values in order of decreasing detail:
|
#log_min_messages = warning # values in order of decreasing detail:
|
||||||
# debug5
|
# debug5
|
||||||
# debug4
|
# debug4
|
||||||
@ -429,6 +493,9 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
# statements running at least this number
|
# statements running at least this number
|
||||||
# of milliseconds
|
# of milliseconds
|
||||||
|
|
||||||
|
#log_transaction_sample_rate = 0.0 # Fraction of transactions whose statements
|
||||||
|
# are logged regardless of their duration. 1.0 logs all
|
||||||
|
# statements from all transactions, 0.0 never logs.
|
||||||
|
|
||||||
# - What to Log -
|
# - What to Log -
|
||||||
|
|
||||||
@ -464,15 +531,16 @@ log_line_prefix = '%m [%p] %q%u@%d ' # special values:
|
|||||||
# %% = '%'
|
# %% = '%'
|
||||||
# e.g. '<%u%%%d> '
|
# e.g. '<%u%%%d> '
|
||||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||||
#log_statement = 'all' # none, ddl, mod, all
|
#log_statement = 'none' # none, ddl, mod, all
|
||||||
#log_replication_commands = off
|
#log_replication_commands = off
|
||||||
#log_temp_files = -1 # log temporary files equal or larger
|
#log_temp_files = -1 # log temporary files equal or larger
|
||||||
# than the specified size in kilobytes;
|
# than the specified size in kilobytes;
|
||||||
# -1 disables, 0 logs all temp files
|
# -1 disables, 0 logs all temp files
|
||||||
log_timezone = 'Europe/Prague'
|
log_timezone = 'Europe/Prague'
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
# - Process Title -
|
# PROCESS TITLE
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#cluster_name = '' # added to process titles if nonempty
|
#cluster_name = '' # added to process titles if nonempty
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -480,10 +548,10 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# RUNTIME STATISTICS
|
# STATISTICS
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Query/Index Statistics Collector -
|
# - Query and Index Statistics Collector -
|
||||||
|
|
||||||
#track_activities = on
|
#track_activities = on
|
||||||
#track_counts = on
|
#track_counts = on
|
||||||
@ -493,7 +561,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#stats_temp_directory = 'pg_stat_tmp'
|
#stats_temp_directory = 'pg_stat_tmp'
|
||||||
|
|
||||||
|
|
||||||
# - Statistics Monitoring -
|
# - Monitoring -
|
||||||
|
|
||||||
#log_parser_stats = off
|
#log_parser_stats = off
|
||||||
#log_planner_stats = off
|
#log_planner_stats = off
|
||||||
@ -502,7 +570,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# AUTOVACUUM PARAMETERS
|
# AUTOVACUUM
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
||||||
@ -525,7 +593,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
||||||
# before forced vacuum
|
# before forced vacuum
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
|
||||||
# autovacuum, in milliseconds;
|
# autovacuum, in milliseconds;
|
||||||
# -1 means use vacuum_cost_delay
|
# -1 means use vacuum_cost_delay
|
||||||
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
||||||
@ -539,10 +607,22 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
# - Statement Behavior -
|
# - Statement Behavior -
|
||||||
|
|
||||||
|
#client_min_messages = notice # values in order of decreasing detail:
|
||||||
|
# debug5
|
||||||
|
# debug4
|
||||||
|
# debug3
|
||||||
|
# debug2
|
||||||
|
# debug1
|
||||||
|
# log
|
||||||
|
# notice
|
||||||
|
# warning
|
||||||
|
# error
|
||||||
#search_path = '"$user", public' # schema names
|
#search_path = '"$user", public' # schema names
|
||||||
|
#row_security = on
|
||||||
#default_tablespace = '' # a tablespace name, '' uses the default
|
#default_tablespace = '' # a tablespace name, '' uses the default
|
||||||
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
||||||
# only default tablespace
|
# only default tablespace
|
||||||
|
#default_table_access_method = 'heap'
|
||||||
#check_function_bodies = on
|
#check_function_bodies = on
|
||||||
#default_transaction_isolation = 'read committed'
|
#default_transaction_isolation = 'read committed'
|
||||||
#default_transaction_read_only = off
|
#default_transaction_read_only = off
|
||||||
@ -555,6 +635,9 @@ log_timezone = 'Europe/Prague'
|
|||||||
#vacuum_freeze_table_age = 150000000
|
#vacuum_freeze_table_age = 150000000
|
||||||
#vacuum_multixact_freeze_min_age = 5000000
|
#vacuum_multixact_freeze_min_age = 5000000
|
||||||
#vacuum_multixact_freeze_table_age = 150000000
|
#vacuum_multixact_freeze_table_age = 150000000
|
||||||
|
#vacuum_cleanup_index_scale_factor = 0.1 # fraction of total number of tuples
|
||||||
|
# before index cleanup, 0 always performs
|
||||||
|
# index cleanup
|
||||||
#bytea_output = 'hex' # hex, escape
|
#bytea_output = 'hex' # hex, escape
|
||||||
#xmlbinary = 'base64'
|
#xmlbinary = 'base64'
|
||||||
#xmloption = 'content'
|
#xmloption = 'content'
|
||||||
@ -573,7 +656,8 @@ timezone = 'Europe/Prague'
|
|||||||
# India
|
# India
|
||||||
# You can create your own file in
|
# You can create your own file in
|
||||||
# share/timezonesets/.
|
# share/timezonesets/.
|
||||||
#extra_float_digits = 0 # min -15, max 3
|
#extra_float_digits = 1 # min -15, max 3; any value >0 actually
|
||||||
|
# selects precise output mode
|
||||||
#client_encoding = sql_ascii # actually, defaults to database
|
#client_encoding = sql_ascii # actually, defaults to database
|
||||||
# encoding
|
# encoding
|
||||||
|
|
||||||
@ -587,11 +671,16 @@ lc_time = 'C' # locale for time formatting
|
|||||||
# default configuration for text search
|
# default configuration for text search
|
||||||
default_text_search_config = 'pg_catalog.english'
|
default_text_search_config = 'pg_catalog.english'
|
||||||
|
|
||||||
|
# - Shared Library Preloading -
|
||||||
|
|
||||||
|
#shared_preload_libraries = '' # (change requires restart)
|
||||||
|
#local_preload_libraries = ''
|
||||||
|
#session_preload_libraries = ''
|
||||||
|
#jit_provider = 'llvmjit' # JIT library to use
|
||||||
|
|
||||||
# - Other Defaults -
|
# - Other Defaults -
|
||||||
|
|
||||||
#dynamic_library_path = '$libdir'
|
#dynamic_library_path = '$libdir'
|
||||||
#local_preload_libraries = ''
|
|
||||||
#session_preload_libraries = ''
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -610,14 +699,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# VERSION/PLATFORM COMPATIBILITY
|
# VERSION AND PLATFORM COMPATIBILITY
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Previous PostgreSQL Versions -
|
# - Previous PostgreSQL Versions -
|
||||||
|
|
||||||
#array_nulls = on
|
#array_nulls = on
|
||||||
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
||||||
#default_with_oids = off
|
|
||||||
#escape_string_warning = on
|
#escape_string_warning = on
|
||||||
#lo_compat_privileges = off
|
#lo_compat_privileges = off
|
||||||
#operator_precedence_warning = off
|
#operator_precedence_warning = off
|
||||||
@ -636,6 +724,9 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
#exit_on_error = off # terminate session on any error?
|
#exit_on_error = off # terminate session on any error?
|
||||||
#restart_after_crash = on # reinitialize after backend crash?
|
#restart_after_crash = on # reinitialize after backend crash?
|
||||||
|
#data_sync_retry = off # retry or panic on failure to fsync
|
||||||
|
# data?
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -643,12 +734,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# These options allow settings to be loaded from files other than the
|
# These options allow settings to be loaded from files other than the
|
||||||
# default postgresql.conf.
|
# default postgresql.conf. Note that these are directives, not variable
|
||||||
|
# assignments, so they can usefully be given more than once.
|
||||||
|
|
||||||
#include_dir = 'conf.d' # include files ending in '.conf' from
|
#include_dir = '...' # include files ending in '.conf' from
|
||||||
# directory 'conf.d'
|
# a directory, e.g., 'conf.d'
|
||||||
#include_if_exists = 'exists.conf' # include file only if it exists
|
#include_if_exists = '...' # include file only if it exists
|
||||||
#include = 'special.conf' # include file
|
#include = '...' # include file
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
@ -73,27 +73,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
#bonjour_name = '' # defaults to the computer name
|
#bonjour_name = '' # defaults to the computer name
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Security and Authentication -
|
# - TCP settings -
|
||||||
|
|
||||||
#authentication_timeout = 1min # 1s-600s
|
|
||||||
#ssl = off
|
|
||||||
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
||||||
#ssl_prefer_server_ciphers = on
|
|
||||||
#ssl_ecdh_curve = 'prime256v1'
|
|
||||||
#ssl_dh_params_file = ''
|
|
||||||
#ssl_cert_file = 'server.crt'
|
|
||||||
#ssl_key_file = 'server.key'
|
|
||||||
#ssl_ca_file = ''
|
|
||||||
#ssl_crl_file = ''
|
|
||||||
#password_encryption = md5 # md5 or scram-sha-256
|
|
||||||
#db_user_namespace = off
|
|
||||||
#row_security = on
|
|
||||||
|
|
||||||
# GSSAPI using Kerberos
|
|
||||||
#krb_server_keyfile = ''
|
|
||||||
#krb_caseins_users = off
|
|
||||||
|
|
||||||
# - TCP Keepalives -
|
|
||||||
# see "man 7 tcp" for details
|
# see "man 7 tcp" for details
|
||||||
|
|
||||||
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
||||||
@ -102,6 +82,34 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
|
#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
|
||||||
|
# 0 selects the system default
|
||||||
|
|
||||||
|
# - Authentication -
|
||||||
|
|
||||||
|
#authentication_timeout = 1min # 1s-600s
|
||||||
|
#password_encryption = md5 # md5 or scram-sha-256
|
||||||
|
#db_user_namespace = off
|
||||||
|
|
||||||
|
# GSSAPI using Kerberos
|
||||||
|
#krb_server_keyfile = ''
|
||||||
|
#krb_caseins_users = off
|
||||||
|
|
||||||
|
# - SSL -
|
||||||
|
|
||||||
|
#ssl = off
|
||||||
|
#ssl_ca_file = ''
|
||||||
|
#ssl_cert_file = 'server.crt'
|
||||||
|
#ssl_crl_file = ''
|
||||||
|
#ssl_key_file = 'server.key'
|
||||||
|
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
||||||
|
#ssl_prefer_server_ciphers = on
|
||||||
|
#ssl_ecdh_curve = 'prime256v1'
|
||||||
|
#ssl_min_protocol_version = 'TLSv1'
|
||||||
|
#ssl_max_protocol_version = ''
|
||||||
|
#ssl_dh_params_file = ''
|
||||||
|
#ssl_passphrase_command = ''
|
||||||
|
#ssl_passphrase_command_supports_reload = off
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -110,7 +118,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
|
|
||||||
# - Memory -
|
# - Memory -
|
||||||
|
|
||||||
shared_buffers = 192MB # min 128kB
|
shared_buffers = 128MB # min 128kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#huge_pages = try # on, off, or try
|
#huge_pages = try # on, off, or try
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -121,16 +129,20 @@ shared_buffers = 192MB # min 128kB
|
|||||||
# you actively intend to use prepared transactions.
|
# you actively intend to use prepared transactions.
|
||||||
#work_mem = 4MB # min 64kB
|
#work_mem = 4MB # min 64kB
|
||||||
#maintenance_work_mem = 64MB # min 1MB
|
#maintenance_work_mem = 64MB # min 1MB
|
||||||
#replacement_sort_tuples = 150000 # limits use of replacement selection sort
|
|
||||||
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
||||||
#max_stack_depth = 2MB # min 100kB
|
#max_stack_depth = 2MB # min 100kB
|
||||||
|
#shared_memory_type = mmap # the default is the first option
|
||||||
|
# supported by the operating system:
|
||||||
|
# mmap
|
||||||
|
# sysv
|
||||||
|
# windows
|
||||||
|
# (change requires restart)
|
||||||
dynamic_shared_memory_type = posix # the default is the first option
|
dynamic_shared_memory_type = posix # the default is the first option
|
||||||
# supported by the operating system:
|
# supported by the operating system:
|
||||||
# posix
|
# posix
|
||||||
# sysv
|
# sysv
|
||||||
# windows
|
# windows
|
||||||
# mmap
|
# mmap
|
||||||
# use none to disable dynamic shared memory
|
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Disk -
|
# - Disk -
|
||||||
@ -138,15 +150,14 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
#temp_file_limit = -1 # limits per-process temp file space
|
#temp_file_limit = -1 # limits per-process temp file space
|
||||||
# in kB, or -1 for no limit
|
# in kB, or -1 for no limit
|
||||||
|
|
||||||
# - Kernel Resource Usage -
|
# - Kernel Resources -
|
||||||
|
|
||||||
#max_files_per_process = 1000 # min 25
|
#max_files_per_process = 1000 # min 25
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#shared_preload_libraries = '' # (change requires restart)
|
|
||||||
|
|
||||||
# - Cost-Based Vacuum Delay -
|
# - Cost-Based Vacuum Delay -
|
||||||
|
|
||||||
#vacuum_cost_delay = 0 # 0-100 milliseconds
|
#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
|
||||||
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
||||||
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
||||||
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
||||||
@ -155,7 +166,7 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
# - Background Writer -
|
# - Background Writer -
|
||||||
|
|
||||||
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
||||||
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
|
#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
|
||||||
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
||||||
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
||||||
|
|
||||||
@ -163,16 +174,18 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
|
|
||||||
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
||||||
#max_worker_processes = 8 # (change requires restart)
|
#max_worker_processes = 8 # (change requires restart)
|
||||||
|
#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
|
||||||
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
||||||
|
#parallel_leader_participation = on
|
||||||
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
||||||
# can be used in parallel queries
|
# can be used in parallel operations
|
||||||
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#backend_flush_after = 0 # measured in pages, 0 disables
|
#backend_flush_after = 0 # measured in pages, 0 disables
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# WRITE AHEAD LOG
|
# WRITE-AHEAD LOG
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Settings -
|
# - Settings -
|
||||||
@ -180,8 +193,8 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
wal_level = minimal # minimal, replica, or logical
|
wal_level = minimal # minimal, replica, or logical
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#fsync = on # flush data to disk for crash safety
|
#fsync = on # flush data to disk for crash safety
|
||||||
# (turning this off can cause
|
# (turning this off can cause
|
||||||
# unrecoverable data corruption)
|
# unrecoverable data corruption)
|
||||||
#synchronous_commit = on # synchronization level;
|
#synchronous_commit = on # synchronization level;
|
||||||
# off, local, remote_write, remote_apply, or on
|
# off, local, remote_write, remote_apply, or on
|
||||||
#wal_sync_method = fsync # the default is the first option
|
#wal_sync_method = fsync # the default is the first option
|
||||||
@ -195,6 +208,8 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#wal_compression = off # enable compression of full-page writes
|
#wal_compression = off # enable compression of full-page writes
|
||||||
#wal_log_hints = off # also do full page writes of non-critical updates
|
#wal_log_hints = off # also do full page writes of non-critical updates
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
#wal_init_zero = on # zero-fill new WAL files
|
||||||
|
#wal_recycle = on # recycle WAL files
|
||||||
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
||||||
@ -223,18 +238,54 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#archive_timeout = 0 # force a logfile segment switch after this
|
#archive_timeout = 0 # force a logfile segment switch after this
|
||||||
# number of seconds; 0 disables
|
# number of seconds; 0 disables
|
||||||
|
|
||||||
|
# - Archive Recovery -
|
||||||
|
|
||||||
|
# These are only used in recovery mode.
|
||||||
|
|
||||||
|
#restore_command = '' # command to use to restore an archived logfile segment
|
||||||
|
# placeholders: %p = path of file to restore
|
||||||
|
# %f = file name only
|
||||||
|
# e.g. 'cp /mnt/server/archivedir/%f %p'
|
||||||
|
# (change requires restart)
|
||||||
|
#archive_cleanup_command = '' # command to execute at every restartpoint
|
||||||
|
#recovery_end_command = '' # command to execute at completion of recovery
|
||||||
|
|
||||||
|
# - Recovery Target -
|
||||||
|
|
||||||
|
# Set these only when performing a targeted recovery.
|
||||||
|
|
||||||
|
#recovery_target = '' # 'immediate' to end recovery as soon as a
|
||||||
|
# consistent state is reached
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_name = '' # the named restore point to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_time = '' # the time stamp up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_inclusive = on # Specifies whether to stop:
|
||||||
|
# just after the specified recovery target (on)
|
||||||
|
# just before the recovery target (off)
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# REPLICATION
|
# REPLICATION
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Sending Server(s) -
|
# - Sending Servers -
|
||||||
|
|
||||||
# Set these on the master and on any standby that will send replication data.
|
# Set these on the master and on any standby that will send replication data.
|
||||||
|
|
||||||
max_wal_senders = 0 # max number of walsender processes
|
max_wal_senders = 0 # max number of walsender processes
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
#wal_keep_segments = 0 # in logfile segments; 0 disables
|
||||||
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
||||||
|
|
||||||
max_replication_slots = 0 # max number of replication slots
|
max_replication_slots = 0 # max number of replication slots
|
||||||
@ -256,6 +307,11 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
|
|
||||||
# These settings are ignored on a master server.
|
# These settings are ignored on a master server.
|
||||||
|
|
||||||
|
#primary_conninfo = '' # connection string to sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#primary_slot_name = '' # replication slot on sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#promote_trigger_file = '' # file name whose presence ends recovery
|
||||||
#hot_standby = on # "off" disallows queries during recovery
|
#hot_standby = on # "off" disallows queries during recovery
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#max_standby_archive_delay = 30s # max delay before canceling queries
|
#max_standby_archive_delay = 30s # max delay before canceling queries
|
||||||
@ -273,6 +329,7 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
# in milliseconds; 0 disables
|
# in milliseconds; 0 disables
|
||||||
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
||||||
# retrieve WAL after a failed attempt
|
# retrieve WAL after a failed attempt
|
||||||
|
#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
|
||||||
|
|
||||||
# - Subscribers -
|
# - Subscribers -
|
||||||
|
|
||||||
@ -297,9 +354,14 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#enable_material = on
|
#enable_material = on
|
||||||
#enable_mergejoin = on
|
#enable_mergejoin = on
|
||||||
#enable_nestloop = on
|
#enable_nestloop = on
|
||||||
|
#enable_parallel_append = on
|
||||||
#enable_seqscan = on
|
#enable_seqscan = on
|
||||||
#enable_sort = on
|
#enable_sort = on
|
||||||
#enable_tidscan = on
|
#enable_tidscan = on
|
||||||
|
#enable_partitionwise_join = off
|
||||||
|
#enable_partitionwise_aggregate = off
|
||||||
|
#enable_parallel_hash = on
|
||||||
|
#enable_partition_pruning = on
|
||||||
|
|
||||||
# - Planner Cost Constants -
|
# - Planner Cost Constants -
|
||||||
|
|
||||||
@ -310,6 +372,16 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#cpu_operator_cost = 0.0025 # same scale as above
|
#cpu_operator_cost = 0.0025 # same scale as above
|
||||||
#parallel_tuple_cost = 0.1 # same scale as above
|
#parallel_tuple_cost = 0.1 # same scale as above
|
||||||
#parallel_setup_cost = 1000.0 # same scale as above
|
#parallel_setup_cost = 1000.0 # same scale as above
|
||||||
|
|
||||||
|
#jit_above_cost = 100000 # perform JIT compilation if available
|
||||||
|
# and query more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
#jit_inline_above_cost = 500000 # inline small functions if query is
|
||||||
|
# more expensive than this; -1 disables
|
||||||
|
#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
|
||||||
|
# query is more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
|
||||||
#min_parallel_table_scan_size = 8MB
|
#min_parallel_table_scan_size = 8MB
|
||||||
#min_parallel_index_scan_size = 512kB
|
#min_parallel_index_scan_size = 512kB
|
||||||
#effective_cache_size = 4GB
|
#effective_cache_size = 4GB
|
||||||
@ -333,10 +405,13 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
||||||
# JOIN clauses
|
# JOIN clauses
|
||||||
#force_parallel_mode = off
|
#force_parallel_mode = off
|
||||||
|
#jit = on # allow JIT compilation
|
||||||
|
#plan_cache_mode = auto # auto, force_generic_plan or
|
||||||
|
# force_custom_plan
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# ERROR REPORTING AND LOGGING
|
# REPORTING AND LOGGING
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Where to Log -
|
# - Where to Log -
|
||||||
@ -385,17 +460,6 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
|
|
||||||
# - When to Log -
|
# - When to Log -
|
||||||
|
|
||||||
#client_min_messages = notice # values in order of decreasing detail:
|
|
||||||
# debug5
|
|
||||||
# debug4
|
|
||||||
# debug3
|
|
||||||
# debug2
|
|
||||||
# debug1
|
|
||||||
# log
|
|
||||||
# notice
|
|
||||||
# warning
|
|
||||||
# error
|
|
||||||
|
|
||||||
#log_min_messages = warning # values in order of decreasing detail:
|
#log_min_messages = warning # values in order of decreasing detail:
|
||||||
# debug5
|
# debug5
|
||||||
# debug4
|
# debug4
|
||||||
@ -429,6 +493,9 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
# statements running at least this number
|
# statements running at least this number
|
||||||
# of milliseconds
|
# of milliseconds
|
||||||
|
|
||||||
|
#log_transaction_sample_rate = 0.0 # Fraction of transactions whose statements
|
||||||
|
# are logged regardless of their duration. 1.0 logs all
|
||||||
|
# statements from all transactions, 0.0 never logs.
|
||||||
|
|
||||||
# - What to Log -
|
# - What to Log -
|
||||||
|
|
||||||
@ -464,15 +531,16 @@ log_line_prefix = '%m [%p] %q%u@%d ' # special values:
|
|||||||
# %% = '%'
|
# %% = '%'
|
||||||
# e.g. '<%u%%%d> '
|
# e.g. '<%u%%%d> '
|
||||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||||
#log_statement = 'all' # none, ddl, mod, all
|
#log_statement = 'none' # none, ddl, mod, all
|
||||||
#log_replication_commands = off
|
#log_replication_commands = off
|
||||||
#log_temp_files = -1 # log temporary files equal or larger
|
#log_temp_files = -1 # log temporary files equal or larger
|
||||||
# than the specified size in kilobytes;
|
# than the specified size in kilobytes;
|
||||||
# -1 disables, 0 logs all temp files
|
# -1 disables, 0 logs all temp files
|
||||||
log_timezone = 'Europe/Prague'
|
log_timezone = 'Europe/Prague'
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
# - Process Title -
|
# PROCESS TITLE
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#cluster_name = '' # added to process titles if nonempty
|
#cluster_name = '' # added to process titles if nonempty
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -480,10 +548,10 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# RUNTIME STATISTICS
|
# STATISTICS
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Query/Index Statistics Collector -
|
# - Query and Index Statistics Collector -
|
||||||
|
|
||||||
#track_activities = on
|
#track_activities = on
|
||||||
#track_counts = on
|
#track_counts = on
|
||||||
@ -493,7 +561,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#stats_temp_directory = 'pg_stat_tmp'
|
#stats_temp_directory = 'pg_stat_tmp'
|
||||||
|
|
||||||
|
|
||||||
# - Statistics Monitoring -
|
# - Monitoring -
|
||||||
|
|
||||||
#log_parser_stats = off
|
#log_parser_stats = off
|
||||||
#log_planner_stats = off
|
#log_planner_stats = off
|
||||||
@ -502,7 +570,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# AUTOVACUUM PARAMETERS
|
# AUTOVACUUM
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
||||||
@ -525,7 +593,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
||||||
# before forced vacuum
|
# before forced vacuum
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
|
||||||
# autovacuum, in milliseconds;
|
# autovacuum, in milliseconds;
|
||||||
# -1 means use vacuum_cost_delay
|
# -1 means use vacuum_cost_delay
|
||||||
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
||||||
@ -539,10 +607,22 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
# - Statement Behavior -
|
# - Statement Behavior -
|
||||||
|
|
||||||
|
#client_min_messages = notice # values in order of decreasing detail:
|
||||||
|
# debug5
|
||||||
|
# debug4
|
||||||
|
# debug3
|
||||||
|
# debug2
|
||||||
|
# debug1
|
||||||
|
# log
|
||||||
|
# notice
|
||||||
|
# warning
|
||||||
|
# error
|
||||||
#search_path = '"$user", public' # schema names
|
#search_path = '"$user", public' # schema names
|
||||||
|
#row_security = on
|
||||||
#default_tablespace = '' # a tablespace name, '' uses the default
|
#default_tablespace = '' # a tablespace name, '' uses the default
|
||||||
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
||||||
# only default tablespace
|
# only default tablespace
|
||||||
|
#default_table_access_method = 'heap'
|
||||||
#check_function_bodies = on
|
#check_function_bodies = on
|
||||||
#default_transaction_isolation = 'read committed'
|
#default_transaction_isolation = 'read committed'
|
||||||
#default_transaction_read_only = off
|
#default_transaction_read_only = off
|
||||||
@ -555,6 +635,9 @@ log_timezone = 'Europe/Prague'
|
|||||||
#vacuum_freeze_table_age = 150000000
|
#vacuum_freeze_table_age = 150000000
|
||||||
#vacuum_multixact_freeze_min_age = 5000000
|
#vacuum_multixact_freeze_min_age = 5000000
|
||||||
#vacuum_multixact_freeze_table_age = 150000000
|
#vacuum_multixact_freeze_table_age = 150000000
|
||||||
|
#vacuum_cleanup_index_scale_factor = 0.1 # fraction of total number of tuples
|
||||||
|
# before index cleanup, 0 always performs
|
||||||
|
# index cleanup
|
||||||
#bytea_output = 'hex' # hex, escape
|
#bytea_output = 'hex' # hex, escape
|
||||||
#xmlbinary = 'base64'
|
#xmlbinary = 'base64'
|
||||||
#xmloption = 'content'
|
#xmloption = 'content'
|
||||||
@ -573,7 +656,8 @@ timezone = 'Europe/Prague'
|
|||||||
# India
|
# India
|
||||||
# You can create your own file in
|
# You can create your own file in
|
||||||
# share/timezonesets/.
|
# share/timezonesets/.
|
||||||
#extra_float_digits = 0 # min -15, max 3
|
#extra_float_digits = 1 # min -15, max 3; any value >0 actually
|
||||||
|
# selects precise output mode
|
||||||
#client_encoding = sql_ascii # actually, defaults to database
|
#client_encoding = sql_ascii # actually, defaults to database
|
||||||
# encoding
|
# encoding
|
||||||
|
|
||||||
@ -587,11 +671,16 @@ lc_time = 'C' # locale for time formatting
|
|||||||
# default configuration for text search
|
# default configuration for text search
|
||||||
default_text_search_config = 'pg_catalog.english'
|
default_text_search_config = 'pg_catalog.english'
|
||||||
|
|
||||||
|
# - Shared Library Preloading -
|
||||||
|
|
||||||
|
#shared_preload_libraries = '' # (change requires restart)
|
||||||
|
#local_preload_libraries = ''
|
||||||
|
#session_preload_libraries = ''
|
||||||
|
#jit_provider = 'llvmjit' # JIT library to use
|
||||||
|
|
||||||
# - Other Defaults -
|
# - Other Defaults -
|
||||||
|
|
||||||
#dynamic_library_path = '$libdir'
|
#dynamic_library_path = '$libdir'
|
||||||
#local_preload_libraries = ''
|
|
||||||
#session_preload_libraries = ''
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -610,14 +699,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# VERSION/PLATFORM COMPATIBILITY
|
# VERSION AND PLATFORM COMPATIBILITY
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Previous PostgreSQL Versions -
|
# - Previous PostgreSQL Versions -
|
||||||
|
|
||||||
#array_nulls = on
|
#array_nulls = on
|
||||||
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
||||||
#default_with_oids = off
|
|
||||||
#escape_string_warning = on
|
#escape_string_warning = on
|
||||||
#lo_compat_privileges = off
|
#lo_compat_privileges = off
|
||||||
#operator_precedence_warning = off
|
#operator_precedence_warning = off
|
||||||
@ -636,6 +724,9 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
#exit_on_error = off # terminate session on any error?
|
#exit_on_error = off # terminate session on any error?
|
||||||
#restart_after_crash = on # reinitialize after backend crash?
|
#restart_after_crash = on # reinitialize after backend crash?
|
||||||
|
#data_sync_retry = off # retry or panic on failure to fsync
|
||||||
|
# data?
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -643,12 +734,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# These options allow settings to be loaded from files other than the
|
# These options allow settings to be loaded from files other than the
|
||||||
# default postgresql.conf.
|
# default postgresql.conf. Note that these are directives, not variable
|
||||||
|
# assignments, so they can usefully be given more than once.
|
||||||
|
|
||||||
#include_dir = 'conf.d' # include files ending in '.conf' from
|
#include_dir = '...' # include files ending in '.conf' from
|
||||||
# directory 'conf.d'
|
# a directory, e.g., 'conf.d'
|
||||||
#include_if_exists = 'exists.conf' # include file only if it exists
|
#include_if_exists = '...' # include file only if it exists
|
||||||
#include = 'special.conf' # include file
|
#include = '...' # include file
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
@ -73,27 +73,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
#bonjour_name = '' # defaults to the computer name
|
#bonjour_name = '' # defaults to the computer name
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Security and Authentication -
|
# - TCP settings -
|
||||||
|
|
||||||
#authentication_timeout = 1min # 1s-600s
|
|
||||||
#ssl = off
|
|
||||||
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
||||||
#ssl_prefer_server_ciphers = on
|
|
||||||
#ssl_ecdh_curve = 'prime256v1'
|
|
||||||
#ssl_dh_params_file = ''
|
|
||||||
#ssl_cert_file = 'server.crt'
|
|
||||||
#ssl_key_file = 'server.key'
|
|
||||||
#ssl_ca_file = ''
|
|
||||||
#ssl_crl_file = ''
|
|
||||||
#password_encryption = md5 # md5 or scram-sha-256
|
|
||||||
#db_user_namespace = off
|
|
||||||
#row_security = on
|
|
||||||
|
|
||||||
# GSSAPI using Kerberos
|
|
||||||
#krb_server_keyfile = ''
|
|
||||||
#krb_caseins_users = off
|
|
||||||
|
|
||||||
# - TCP Keepalives -
|
|
||||||
# see "man 7 tcp" for details
|
# see "man 7 tcp" for details
|
||||||
|
|
||||||
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
||||||
@ -102,6 +82,34 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
|
#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
|
||||||
|
# 0 selects the system default
|
||||||
|
|
||||||
|
# - Authentication -
|
||||||
|
|
||||||
|
#authentication_timeout = 1min # 1s-600s
|
||||||
|
#password_encryption = md5 # md5 or scram-sha-256
|
||||||
|
#db_user_namespace = off
|
||||||
|
|
||||||
|
# GSSAPI using Kerberos
|
||||||
|
#krb_server_keyfile = ''
|
||||||
|
#krb_caseins_users = off
|
||||||
|
|
||||||
|
# - SSL -
|
||||||
|
|
||||||
|
#ssl = off
|
||||||
|
#ssl_ca_file = ''
|
||||||
|
#ssl_cert_file = 'server.crt'
|
||||||
|
#ssl_crl_file = ''
|
||||||
|
#ssl_key_file = 'server.key'
|
||||||
|
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
||||||
|
#ssl_prefer_server_ciphers = on
|
||||||
|
#ssl_ecdh_curve = 'prime256v1'
|
||||||
|
#ssl_min_protocol_version = 'TLSv1'
|
||||||
|
#ssl_max_protocol_version = ''
|
||||||
|
#ssl_dh_params_file = ''
|
||||||
|
#ssl_passphrase_command = ''
|
||||||
|
#ssl_passphrase_command_supports_reload = off
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -110,7 +118,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
|
|
||||||
# - Memory -
|
# - Memory -
|
||||||
|
|
||||||
shared_buffers = 192MB # min 128kB
|
shared_buffers = 128MB # min 128kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#huge_pages = try # on, off, or try
|
#huge_pages = try # on, off, or try
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -121,16 +129,20 @@ shared_buffers = 192MB # min 128kB
|
|||||||
# you actively intend to use prepared transactions.
|
# you actively intend to use prepared transactions.
|
||||||
#work_mem = 4MB # min 64kB
|
#work_mem = 4MB # min 64kB
|
||||||
#maintenance_work_mem = 64MB # min 1MB
|
#maintenance_work_mem = 64MB # min 1MB
|
||||||
#replacement_sort_tuples = 150000 # limits use of replacement selection sort
|
|
||||||
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
||||||
#max_stack_depth = 2MB # min 100kB
|
#max_stack_depth = 2MB # min 100kB
|
||||||
|
#shared_memory_type = mmap # the default is the first option
|
||||||
|
# supported by the operating system:
|
||||||
|
# mmap
|
||||||
|
# sysv
|
||||||
|
# windows
|
||||||
|
# (change requires restart)
|
||||||
dynamic_shared_memory_type = posix # the default is the first option
|
dynamic_shared_memory_type = posix # the default is the first option
|
||||||
# supported by the operating system:
|
# supported by the operating system:
|
||||||
# posix
|
# posix
|
||||||
# sysv
|
# sysv
|
||||||
# windows
|
# windows
|
||||||
# mmap
|
# mmap
|
||||||
# use none to disable dynamic shared memory
|
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Disk -
|
# - Disk -
|
||||||
@ -138,15 +150,14 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
#temp_file_limit = -1 # limits per-process temp file space
|
#temp_file_limit = -1 # limits per-process temp file space
|
||||||
# in kB, or -1 for no limit
|
# in kB, or -1 for no limit
|
||||||
|
|
||||||
# - Kernel Resource Usage -
|
# - Kernel Resources -
|
||||||
|
|
||||||
#max_files_per_process = 1000 # min 25
|
#max_files_per_process = 1000 # min 25
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#shared_preload_libraries = '' # (change requires restart)
|
|
||||||
|
|
||||||
# - Cost-Based Vacuum Delay -
|
# - Cost-Based Vacuum Delay -
|
||||||
|
|
||||||
#vacuum_cost_delay = 0 # 0-100 milliseconds
|
#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
|
||||||
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
||||||
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
||||||
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
||||||
@ -155,7 +166,7 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
# - Background Writer -
|
# - Background Writer -
|
||||||
|
|
||||||
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
||||||
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
|
#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
|
||||||
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
||||||
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
||||||
|
|
||||||
@ -163,16 +174,18 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
|
|
||||||
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
||||||
#max_worker_processes = 8 # (change requires restart)
|
#max_worker_processes = 8 # (change requires restart)
|
||||||
|
#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
|
||||||
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
||||||
|
#parallel_leader_participation = on
|
||||||
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
||||||
# can be used in parallel queries
|
# can be used in parallel operations
|
||||||
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#backend_flush_after = 0 # measured in pages, 0 disables
|
#backend_flush_after = 0 # measured in pages, 0 disables
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# WRITE AHEAD LOG
|
# WRITE-AHEAD LOG
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Settings -
|
# - Settings -
|
||||||
@ -180,8 +193,8 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
wal_level = minimal # minimal, replica, or logical
|
wal_level = minimal # minimal, replica, or logical
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#fsync = on # flush data to disk for crash safety
|
#fsync = on # flush data to disk for crash safety
|
||||||
# (turning this off can cause
|
# (turning this off can cause
|
||||||
# unrecoverable data corruption)
|
# unrecoverable data corruption)
|
||||||
#synchronous_commit = on # synchronization level;
|
#synchronous_commit = on # synchronization level;
|
||||||
# off, local, remote_write, remote_apply, or on
|
# off, local, remote_write, remote_apply, or on
|
||||||
#wal_sync_method = fsync # the default is the first option
|
#wal_sync_method = fsync # the default is the first option
|
||||||
@ -195,6 +208,8 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#wal_compression = off # enable compression of full-page writes
|
#wal_compression = off # enable compression of full-page writes
|
||||||
#wal_log_hints = off # also do full page writes of non-critical updates
|
#wal_log_hints = off # also do full page writes of non-critical updates
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
#wal_init_zero = on # zero-fill new WAL files
|
||||||
|
#wal_recycle = on # recycle WAL files
|
||||||
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
||||||
@ -223,18 +238,54 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#archive_timeout = 0 # force a logfile segment switch after this
|
#archive_timeout = 0 # force a logfile segment switch after this
|
||||||
# number of seconds; 0 disables
|
# number of seconds; 0 disables
|
||||||
|
|
||||||
|
# - Archive Recovery -
|
||||||
|
|
||||||
|
# These are only used in recovery mode.
|
||||||
|
|
||||||
|
#restore_command = '' # command to use to restore an archived logfile segment
|
||||||
|
# placeholders: %p = path of file to restore
|
||||||
|
# %f = file name only
|
||||||
|
# e.g. 'cp /mnt/server/archivedir/%f %p'
|
||||||
|
# (change requires restart)
|
||||||
|
#archive_cleanup_command = '' # command to execute at every restartpoint
|
||||||
|
#recovery_end_command = '' # command to execute at completion of recovery
|
||||||
|
|
||||||
|
# - Recovery Target -
|
||||||
|
|
||||||
|
# Set these only when performing a targeted recovery.
|
||||||
|
|
||||||
|
#recovery_target = '' # 'immediate' to end recovery as soon as a
|
||||||
|
# consistent state is reached
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_name = '' # the named restore point to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_time = '' # the time stamp up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_inclusive = on # Specifies whether to stop:
|
||||||
|
# just after the specified recovery target (on)
|
||||||
|
# just before the recovery target (off)
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# REPLICATION
|
# REPLICATION
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Sending Server(s) -
|
# - Sending Servers -
|
||||||
|
|
||||||
# Set these on the master and on any standby that will send replication data.
|
# Set these on the master and on any standby that will send replication data.
|
||||||
|
|
||||||
max_wal_senders = 0 # max number of walsender processes
|
max_wal_senders = 0 # max number of walsender processes
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
#wal_keep_segments = 0 # in logfile segments; 0 disables
|
||||||
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
||||||
|
|
||||||
max_replication_slots = 0 # max number of replication slots
|
max_replication_slots = 0 # max number of replication slots
|
||||||
@ -256,6 +307,11 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
|
|
||||||
# These settings are ignored on a master server.
|
# These settings are ignored on a master server.
|
||||||
|
|
||||||
|
#primary_conninfo = '' # connection string to sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#primary_slot_name = '' # replication slot on sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#promote_trigger_file = '' # file name whose presence ends recovery
|
||||||
#hot_standby = on # "off" disallows queries during recovery
|
#hot_standby = on # "off" disallows queries during recovery
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#max_standby_archive_delay = 30s # max delay before canceling queries
|
#max_standby_archive_delay = 30s # max delay before canceling queries
|
||||||
@ -273,6 +329,7 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
# in milliseconds; 0 disables
|
# in milliseconds; 0 disables
|
||||||
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
||||||
# retrieve WAL after a failed attempt
|
# retrieve WAL after a failed attempt
|
||||||
|
#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
|
||||||
|
|
||||||
# - Subscribers -
|
# - Subscribers -
|
||||||
|
|
||||||
@ -297,9 +354,14 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#enable_material = on
|
#enable_material = on
|
||||||
#enable_mergejoin = on
|
#enable_mergejoin = on
|
||||||
#enable_nestloop = on
|
#enable_nestloop = on
|
||||||
|
#enable_parallel_append = on
|
||||||
#enable_seqscan = on
|
#enable_seqscan = on
|
||||||
#enable_sort = on
|
#enable_sort = on
|
||||||
#enable_tidscan = on
|
#enable_tidscan = on
|
||||||
|
#enable_partitionwise_join = off
|
||||||
|
#enable_partitionwise_aggregate = off
|
||||||
|
#enable_parallel_hash = on
|
||||||
|
#enable_partition_pruning = on
|
||||||
|
|
||||||
# - Planner Cost Constants -
|
# - Planner Cost Constants -
|
||||||
|
|
||||||
@ -310,6 +372,16 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#cpu_operator_cost = 0.0025 # same scale as above
|
#cpu_operator_cost = 0.0025 # same scale as above
|
||||||
#parallel_tuple_cost = 0.1 # same scale as above
|
#parallel_tuple_cost = 0.1 # same scale as above
|
||||||
#parallel_setup_cost = 1000.0 # same scale as above
|
#parallel_setup_cost = 1000.0 # same scale as above
|
||||||
|
|
||||||
|
#jit_above_cost = 100000 # perform JIT compilation if available
|
||||||
|
# and query more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
#jit_inline_above_cost = 500000 # inline small functions if query is
|
||||||
|
# more expensive than this; -1 disables
|
||||||
|
#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
|
||||||
|
# query is more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
|
||||||
#min_parallel_table_scan_size = 8MB
|
#min_parallel_table_scan_size = 8MB
|
||||||
#min_parallel_index_scan_size = 512kB
|
#min_parallel_index_scan_size = 512kB
|
||||||
#effective_cache_size = 4GB
|
#effective_cache_size = 4GB
|
||||||
@ -333,10 +405,13 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
||||||
# JOIN clauses
|
# JOIN clauses
|
||||||
#force_parallel_mode = off
|
#force_parallel_mode = off
|
||||||
|
#jit = on # allow JIT compilation
|
||||||
|
#plan_cache_mode = auto # auto, force_generic_plan or
|
||||||
|
# force_custom_plan
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# ERROR REPORTING AND LOGGING
|
# REPORTING AND LOGGING
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Where to Log -
|
# - Where to Log -
|
||||||
@ -385,17 +460,6 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
|
|
||||||
# - When to Log -
|
# - When to Log -
|
||||||
|
|
||||||
#client_min_messages = notice # values in order of decreasing detail:
|
|
||||||
# debug5
|
|
||||||
# debug4
|
|
||||||
# debug3
|
|
||||||
# debug2
|
|
||||||
# debug1
|
|
||||||
# log
|
|
||||||
# notice
|
|
||||||
# warning
|
|
||||||
# error
|
|
||||||
|
|
||||||
#log_min_messages = warning # values in order of decreasing detail:
|
#log_min_messages = warning # values in order of decreasing detail:
|
||||||
# debug5
|
# debug5
|
||||||
# debug4
|
# debug4
|
||||||
@ -429,6 +493,9 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
# statements running at least this number
|
# statements running at least this number
|
||||||
# of milliseconds
|
# of milliseconds
|
||||||
|
|
||||||
|
#log_transaction_sample_rate = 0.0 # Fraction of transactions whose statements
|
||||||
|
# are logged regardless of their duration. 1.0 logs all
|
||||||
|
# statements from all transactions, 0.0 never logs.
|
||||||
|
|
||||||
# - What to Log -
|
# - What to Log -
|
||||||
|
|
||||||
@ -464,15 +531,16 @@ log_line_prefix = '%m [%p] %q%u@%d ' # special values:
|
|||||||
# %% = '%'
|
# %% = '%'
|
||||||
# e.g. '<%u%%%d> '
|
# e.g. '<%u%%%d> '
|
||||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||||
#log_statement = 'all' # none, ddl, mod, all
|
#log_statement = 'none' # none, ddl, mod, all
|
||||||
#log_replication_commands = off
|
#log_replication_commands = off
|
||||||
#log_temp_files = -1 # log temporary files equal or larger
|
#log_temp_files = -1 # log temporary files equal or larger
|
||||||
# than the specified size in kilobytes;
|
# than the specified size in kilobytes;
|
||||||
# -1 disables, 0 logs all temp files
|
# -1 disables, 0 logs all temp files
|
||||||
log_timezone = 'Europe/Prague'
|
log_timezone = 'Europe/Prague'
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
# - Process Title -
|
# PROCESS TITLE
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#cluster_name = '' # added to process titles if nonempty
|
#cluster_name = '' # added to process titles if nonempty
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -480,10 +548,10 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# RUNTIME STATISTICS
|
# STATISTICS
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Query/Index Statistics Collector -
|
# - Query and Index Statistics Collector -
|
||||||
|
|
||||||
#track_activities = on
|
#track_activities = on
|
||||||
#track_counts = on
|
#track_counts = on
|
||||||
@ -493,7 +561,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#stats_temp_directory = 'pg_stat_tmp'
|
#stats_temp_directory = 'pg_stat_tmp'
|
||||||
|
|
||||||
|
|
||||||
# - Statistics Monitoring -
|
# - Monitoring -
|
||||||
|
|
||||||
#log_parser_stats = off
|
#log_parser_stats = off
|
||||||
#log_planner_stats = off
|
#log_planner_stats = off
|
||||||
@ -502,7 +570,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# AUTOVACUUM PARAMETERS
|
# AUTOVACUUM
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
||||||
@ -525,7 +593,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
||||||
# before forced vacuum
|
# before forced vacuum
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
|
||||||
# autovacuum, in milliseconds;
|
# autovacuum, in milliseconds;
|
||||||
# -1 means use vacuum_cost_delay
|
# -1 means use vacuum_cost_delay
|
||||||
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
||||||
@ -539,10 +607,22 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
# - Statement Behavior -
|
# - Statement Behavior -
|
||||||
|
|
||||||
|
#client_min_messages = notice # values in order of decreasing detail:
|
||||||
|
# debug5
|
||||||
|
# debug4
|
||||||
|
# debug3
|
||||||
|
# debug2
|
||||||
|
# debug1
|
||||||
|
# log
|
||||||
|
# notice
|
||||||
|
# warning
|
||||||
|
# error
|
||||||
#search_path = '"$user", public' # schema names
|
#search_path = '"$user", public' # schema names
|
||||||
|
#row_security = on
|
||||||
#default_tablespace = '' # a tablespace name, '' uses the default
|
#default_tablespace = '' # a tablespace name, '' uses the default
|
||||||
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
||||||
# only default tablespace
|
# only default tablespace
|
||||||
|
#default_table_access_method = 'heap'
|
||||||
#check_function_bodies = on
|
#check_function_bodies = on
|
||||||
#default_transaction_isolation = 'read committed'
|
#default_transaction_isolation = 'read committed'
|
||||||
#default_transaction_read_only = off
|
#default_transaction_read_only = off
|
||||||
@ -555,6 +635,9 @@ log_timezone = 'Europe/Prague'
|
|||||||
#vacuum_freeze_table_age = 150000000
|
#vacuum_freeze_table_age = 150000000
|
||||||
#vacuum_multixact_freeze_min_age = 5000000
|
#vacuum_multixact_freeze_min_age = 5000000
|
||||||
#vacuum_multixact_freeze_table_age = 150000000
|
#vacuum_multixact_freeze_table_age = 150000000
|
||||||
|
#vacuum_cleanup_index_scale_factor = 0.1 # fraction of total number of tuples
|
||||||
|
# before index cleanup, 0 always performs
|
||||||
|
# index cleanup
|
||||||
#bytea_output = 'hex' # hex, escape
|
#bytea_output = 'hex' # hex, escape
|
||||||
#xmlbinary = 'base64'
|
#xmlbinary = 'base64'
|
||||||
#xmloption = 'content'
|
#xmloption = 'content'
|
||||||
@ -573,7 +656,8 @@ timezone = 'Europe/Prague'
|
|||||||
# India
|
# India
|
||||||
# You can create your own file in
|
# You can create your own file in
|
||||||
# share/timezonesets/.
|
# share/timezonesets/.
|
||||||
#extra_float_digits = 0 # min -15, max 3
|
#extra_float_digits = 1 # min -15, max 3; any value >0 actually
|
||||||
|
# selects precise output mode
|
||||||
#client_encoding = sql_ascii # actually, defaults to database
|
#client_encoding = sql_ascii # actually, defaults to database
|
||||||
# encoding
|
# encoding
|
||||||
|
|
||||||
@ -587,11 +671,16 @@ lc_time = 'C' # locale for time formatting
|
|||||||
# default configuration for text search
|
# default configuration for text search
|
||||||
default_text_search_config = 'pg_catalog.english'
|
default_text_search_config = 'pg_catalog.english'
|
||||||
|
|
||||||
|
# - Shared Library Preloading -
|
||||||
|
|
||||||
|
#shared_preload_libraries = '' # (change requires restart)
|
||||||
|
#local_preload_libraries = ''
|
||||||
|
#session_preload_libraries = ''
|
||||||
|
#jit_provider = 'llvmjit' # JIT library to use
|
||||||
|
|
||||||
# - Other Defaults -
|
# - Other Defaults -
|
||||||
|
|
||||||
#dynamic_library_path = '$libdir'
|
#dynamic_library_path = '$libdir'
|
||||||
#local_preload_libraries = ''
|
|
||||||
#session_preload_libraries = ''
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -610,14 +699,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# VERSION/PLATFORM COMPATIBILITY
|
# VERSION AND PLATFORM COMPATIBILITY
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Previous PostgreSQL Versions -
|
# - Previous PostgreSQL Versions -
|
||||||
|
|
||||||
#array_nulls = on
|
#array_nulls = on
|
||||||
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
||||||
#default_with_oids = off
|
|
||||||
#escape_string_warning = on
|
#escape_string_warning = on
|
||||||
#lo_compat_privileges = off
|
#lo_compat_privileges = off
|
||||||
#operator_precedence_warning = off
|
#operator_precedence_warning = off
|
||||||
@ -636,6 +724,9 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
#exit_on_error = off # terminate session on any error?
|
#exit_on_error = off # terminate session on any error?
|
||||||
#restart_after_crash = on # reinitialize after backend crash?
|
#restart_after_crash = on # reinitialize after backend crash?
|
||||||
|
#data_sync_retry = off # retry or panic on failure to fsync
|
||||||
|
# data?
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -643,12 +734,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# These options allow settings to be loaded from files other than the
|
# These options allow settings to be loaded from files other than the
|
||||||
# default postgresql.conf.
|
# default postgresql.conf. Note that these are directives, not variable
|
||||||
|
# assignments, so they can usefully be given more than once.
|
||||||
|
|
||||||
#include_dir = 'conf.d' # include files ending in '.conf' from
|
#include_dir = '...' # include files ending in '.conf' from
|
||||||
# directory 'conf.d'
|
# a directory, e.g., 'conf.d'
|
||||||
#include_if_exists = 'exists.conf' # include file only if it exists
|
#include_if_exists = '...' # include file only if it exists
|
||||||
#include = 'special.conf' # include file
|
#include = '...' # include file
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
@ -73,27 +73,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
#bonjour_name = '' # defaults to the computer name
|
#bonjour_name = '' # defaults to the computer name
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Security and Authentication -
|
# - TCP settings -
|
||||||
|
|
||||||
#authentication_timeout = 1min # 1s-600s
|
|
||||||
#ssl = off
|
|
||||||
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
|
||||||
#ssl_prefer_server_ciphers = on
|
|
||||||
#ssl_ecdh_curve = 'prime256v1'
|
|
||||||
#ssl_dh_params_file = ''
|
|
||||||
#ssl_cert_file = 'server.crt'
|
|
||||||
#ssl_key_file = 'server.key'
|
|
||||||
#ssl_ca_file = ''
|
|
||||||
#ssl_crl_file = ''
|
|
||||||
#password_encryption = md5 # md5 or scram-sha-256
|
|
||||||
#db_user_namespace = off
|
|
||||||
#row_security = on
|
|
||||||
|
|
||||||
# GSSAPI using Kerberos
|
|
||||||
#krb_server_keyfile = ''
|
|
||||||
#krb_caseins_users = off
|
|
||||||
|
|
||||||
# - TCP Keepalives -
|
|
||||||
# see "man 7 tcp" for details
|
# see "man 7 tcp" for details
|
||||||
|
|
||||||
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
||||||
@ -102,6 +82,34 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
||||||
# 0 selects the system default
|
# 0 selects the system default
|
||||||
|
#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
|
||||||
|
# 0 selects the system default
|
||||||
|
|
||||||
|
# - Authentication -
|
||||||
|
|
||||||
|
#authentication_timeout = 1min # 1s-600s
|
||||||
|
#password_encryption = md5 # md5 or scram-sha-256
|
||||||
|
#db_user_namespace = off
|
||||||
|
|
||||||
|
# GSSAPI using Kerberos
|
||||||
|
#krb_server_keyfile = ''
|
||||||
|
#krb_caseins_users = off
|
||||||
|
|
||||||
|
# - SSL -
|
||||||
|
|
||||||
|
#ssl = off
|
||||||
|
#ssl_ca_file = ''
|
||||||
|
#ssl_cert_file = 'server.crt'
|
||||||
|
#ssl_crl_file = ''
|
||||||
|
#ssl_key_file = 'server.key'
|
||||||
|
#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
||||||
|
#ssl_prefer_server_ciphers = on
|
||||||
|
#ssl_ecdh_curve = 'prime256v1'
|
||||||
|
#ssl_min_protocol_version = 'TLSv1'
|
||||||
|
#ssl_max_protocol_version = ''
|
||||||
|
#ssl_dh_params_file = ''
|
||||||
|
#ssl_passphrase_command = ''
|
||||||
|
#ssl_passphrase_command_supports_reload = off
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -110,7 +118,7 @@ unix_socket_directories = '/run/postgresql,/tmp' # comma-separated list of direc
|
|||||||
|
|
||||||
# - Memory -
|
# - Memory -
|
||||||
|
|
||||||
shared_buffers = 192MB # min 128kB
|
shared_buffers = 128MB # min 128kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#huge_pages = try # on, off, or try
|
#huge_pages = try # on, off, or try
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -121,16 +129,20 @@ shared_buffers = 192MB # min 128kB
|
|||||||
# you actively intend to use prepared transactions.
|
# you actively intend to use prepared transactions.
|
||||||
#work_mem = 4MB # min 64kB
|
#work_mem = 4MB # min 64kB
|
||||||
#maintenance_work_mem = 64MB # min 1MB
|
#maintenance_work_mem = 64MB # min 1MB
|
||||||
#replacement_sort_tuples = 150000 # limits use of replacement selection sort
|
|
||||||
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
|
||||||
#max_stack_depth = 2MB # min 100kB
|
#max_stack_depth = 2MB # min 100kB
|
||||||
|
#shared_memory_type = mmap # the default is the first option
|
||||||
|
# supported by the operating system:
|
||||||
|
# mmap
|
||||||
|
# sysv
|
||||||
|
# windows
|
||||||
|
# (change requires restart)
|
||||||
dynamic_shared_memory_type = posix # the default is the first option
|
dynamic_shared_memory_type = posix # the default is the first option
|
||||||
# supported by the operating system:
|
# supported by the operating system:
|
||||||
# posix
|
# posix
|
||||||
# sysv
|
# sysv
|
||||||
# windows
|
# windows
|
||||||
# mmap
|
# mmap
|
||||||
# use none to disable dynamic shared memory
|
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|
||||||
# - Disk -
|
# - Disk -
|
||||||
@ -138,15 +150,14 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
#temp_file_limit = -1 # limits per-process temp file space
|
#temp_file_limit = -1 # limits per-process temp file space
|
||||||
# in kB, or -1 for no limit
|
# in kB, or -1 for no limit
|
||||||
|
|
||||||
# - Kernel Resource Usage -
|
# - Kernel Resources -
|
||||||
|
|
||||||
#max_files_per_process = 1000 # min 25
|
#max_files_per_process = 1000 # min 25
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#shared_preload_libraries = '' # (change requires restart)
|
|
||||||
|
|
||||||
# - Cost-Based Vacuum Delay -
|
# - Cost-Based Vacuum Delay -
|
||||||
|
|
||||||
#vacuum_cost_delay = 0 # 0-100 milliseconds
|
#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
|
||||||
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
||||||
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
||||||
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
||||||
@ -155,7 +166,7 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
# - Background Writer -
|
# - Background Writer -
|
||||||
|
|
||||||
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
||||||
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
|
#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
|
||||||
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
||||||
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
#bgwriter_flush_after = 512kB # measured in pages, 0 disables
|
||||||
|
|
||||||
@ -163,16 +174,18 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
|
|
||||||
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
||||||
#max_worker_processes = 8 # (change requires restart)
|
#max_worker_processes = 8 # (change requires restart)
|
||||||
|
#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
|
||||||
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
|
||||||
|
#parallel_leader_participation = on
|
||||||
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
#max_parallel_workers = 8 # maximum number of max_worker_processes that
|
||||||
# can be used in parallel queries
|
# can be used in parallel operations
|
||||||
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#backend_flush_after = 0 # measured in pages, 0 disables
|
#backend_flush_after = 0 # measured in pages, 0 disables
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# WRITE AHEAD LOG
|
# WRITE-AHEAD LOG
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Settings -
|
# - Settings -
|
||||||
@ -180,8 +193,8 @@ dynamic_shared_memory_type = posix # the default is the first option
|
|||||||
wal_level = minimal # minimal, replica, or logical
|
wal_level = minimal # minimal, replica, or logical
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#fsync = on # flush data to disk for crash safety
|
#fsync = on # flush data to disk for crash safety
|
||||||
# (turning this off can cause
|
# (turning this off can cause
|
||||||
# unrecoverable data corruption)
|
# unrecoverable data corruption)
|
||||||
#synchronous_commit = on # synchronization level;
|
#synchronous_commit = on # synchronization level;
|
||||||
# off, local, remote_write, remote_apply, or on
|
# off, local, remote_write, remote_apply, or on
|
||||||
#wal_sync_method = fsync # the default is the first option
|
#wal_sync_method = fsync # the default is the first option
|
||||||
@ -195,6 +208,8 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#wal_compression = off # enable compression of full-page writes
|
#wal_compression = off # enable compression of full-page writes
|
||||||
#wal_log_hints = off # also do full page writes of non-critical updates
|
#wal_log_hints = off # also do full page writes of non-critical updates
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
#wal_init_zero = on # zero-fill new WAL files
|
||||||
|
#wal_recycle = on # recycle WAL files
|
||||||
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
||||||
@ -223,18 +238,54 @@ wal_level = minimal # minimal, replica, or logical
|
|||||||
#archive_timeout = 0 # force a logfile segment switch after this
|
#archive_timeout = 0 # force a logfile segment switch after this
|
||||||
# number of seconds; 0 disables
|
# number of seconds; 0 disables
|
||||||
|
|
||||||
|
# - Archive Recovery -
|
||||||
|
|
||||||
|
# These are only used in recovery mode.
|
||||||
|
|
||||||
|
#restore_command = '' # command to use to restore an archived logfile segment
|
||||||
|
# placeholders: %p = path of file to restore
|
||||||
|
# %f = file name only
|
||||||
|
# e.g. 'cp /mnt/server/archivedir/%f %p'
|
||||||
|
# (change requires restart)
|
||||||
|
#archive_cleanup_command = '' # command to execute at every restartpoint
|
||||||
|
#recovery_end_command = '' # command to execute at completion of recovery
|
||||||
|
|
||||||
|
# - Recovery Target -
|
||||||
|
|
||||||
|
# Set these only when performing a targeted recovery.
|
||||||
|
|
||||||
|
#recovery_target = '' # 'immediate' to end recovery as soon as a
|
||||||
|
# consistent state is reached
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_name = '' # the named restore point to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_time = '' # the time stamp up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_inclusive = on # Specifies whether to stop:
|
||||||
|
# just after the specified recovery target (on)
|
||||||
|
# just before the recovery target (off)
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
|
||||||
|
# (change requires restart)
|
||||||
|
#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# REPLICATION
|
# REPLICATION
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Sending Server(s) -
|
# - Sending Servers -
|
||||||
|
|
||||||
# Set these on the master and on any standby that will send replication data.
|
# Set these on the master and on any standby that will send replication data.
|
||||||
|
|
||||||
max_wal_senders = 0 # max number of walsender processes
|
max_wal_senders = 0 # max number of walsender processes
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
#wal_keep_segments = 0 # in logfile segments; 0 disables
|
||||||
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
||||||
|
|
||||||
max_replication_slots = 0 # max number of replication slots
|
max_replication_slots = 0 # max number of replication slots
|
||||||
@ -256,6 +307,11 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
|
|
||||||
# These settings are ignored on a master server.
|
# These settings are ignored on a master server.
|
||||||
|
|
||||||
|
#primary_conninfo = '' # connection string to sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#primary_slot_name = '' # replication slot on sending server
|
||||||
|
# (change requires restart)
|
||||||
|
#promote_trigger_file = '' # file name whose presence ends recovery
|
||||||
#hot_standby = on # "off" disallows queries during recovery
|
#hot_standby = on # "off" disallows queries during recovery
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#max_standby_archive_delay = 30s # max delay before canceling queries
|
#max_standby_archive_delay = 30s # max delay before canceling queries
|
||||||
@ -273,6 +329,7 @@ max_replication_slots = 0 # max number of replication slots
|
|||||||
# in milliseconds; 0 disables
|
# in milliseconds; 0 disables
|
||||||
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
#wal_retrieve_retry_interval = 5s # time to wait before retrying to
|
||||||
# retrieve WAL after a failed attempt
|
# retrieve WAL after a failed attempt
|
||||||
|
#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
|
||||||
|
|
||||||
# - Subscribers -
|
# - Subscribers -
|
||||||
|
|
||||||
@ -297,9 +354,14 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#enable_material = on
|
#enable_material = on
|
||||||
#enable_mergejoin = on
|
#enable_mergejoin = on
|
||||||
#enable_nestloop = on
|
#enable_nestloop = on
|
||||||
|
#enable_parallel_append = on
|
||||||
#enable_seqscan = on
|
#enable_seqscan = on
|
||||||
#enable_sort = on
|
#enable_sort = on
|
||||||
#enable_tidscan = on
|
#enable_tidscan = on
|
||||||
|
#enable_partitionwise_join = off
|
||||||
|
#enable_partitionwise_aggregate = off
|
||||||
|
#enable_parallel_hash = on
|
||||||
|
#enable_partition_pruning = on
|
||||||
|
|
||||||
# - Planner Cost Constants -
|
# - Planner Cost Constants -
|
||||||
|
|
||||||
@ -310,6 +372,16 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#cpu_operator_cost = 0.0025 # same scale as above
|
#cpu_operator_cost = 0.0025 # same scale as above
|
||||||
#parallel_tuple_cost = 0.1 # same scale as above
|
#parallel_tuple_cost = 0.1 # same scale as above
|
||||||
#parallel_setup_cost = 1000.0 # same scale as above
|
#parallel_setup_cost = 1000.0 # same scale as above
|
||||||
|
|
||||||
|
#jit_above_cost = 100000 # perform JIT compilation if available
|
||||||
|
# and query more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
#jit_inline_above_cost = 500000 # inline small functions if query is
|
||||||
|
# more expensive than this; -1 disables
|
||||||
|
#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
|
||||||
|
# query is more expensive than this;
|
||||||
|
# -1 disables
|
||||||
|
|
||||||
#min_parallel_table_scan_size = 8MB
|
#min_parallel_table_scan_size = 8MB
|
||||||
#min_parallel_index_scan_size = 512kB
|
#min_parallel_index_scan_size = 512kB
|
||||||
#effective_cache_size = 4GB
|
#effective_cache_size = 4GB
|
||||||
@ -333,10 +405,13 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
||||||
# JOIN clauses
|
# JOIN clauses
|
||||||
#force_parallel_mode = off
|
#force_parallel_mode = off
|
||||||
|
#jit = on # allow JIT compilation
|
||||||
|
#plan_cache_mode = auto # auto, force_generic_plan or
|
||||||
|
# force_custom_plan
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# ERROR REPORTING AND LOGGING
|
# REPORTING AND LOGGING
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Where to Log -
|
# - Where to Log -
|
||||||
@ -385,17 +460,6 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
|
|
||||||
# - When to Log -
|
# - When to Log -
|
||||||
|
|
||||||
#client_min_messages = notice # values in order of decreasing detail:
|
|
||||||
# debug5
|
|
||||||
# debug4
|
|
||||||
# debug3
|
|
||||||
# debug2
|
|
||||||
# debug1
|
|
||||||
# log
|
|
||||||
# notice
|
|
||||||
# warning
|
|
||||||
# error
|
|
||||||
|
|
||||||
#log_min_messages = warning # values in order of decreasing detail:
|
#log_min_messages = warning # values in order of decreasing detail:
|
||||||
# debug5
|
# debug5
|
||||||
# debug4
|
# debug4
|
||||||
@ -429,6 +493,9 @@ max_sync_workers_per_subscription = 0 # taken from max_logical_replication_worke
|
|||||||
# statements running at least this number
|
# statements running at least this number
|
||||||
# of milliseconds
|
# of milliseconds
|
||||||
|
|
||||||
|
#log_transaction_sample_rate = 0.0 # Fraction of transactions whose statements
|
||||||
|
# are logged regardless of their duration. 1.0 logs all
|
||||||
|
# statements from all transactions, 0.0 never logs.
|
||||||
|
|
||||||
# - What to Log -
|
# - What to Log -
|
||||||
|
|
||||||
@ -464,15 +531,16 @@ log_line_prefix = '%m [%p] %q%u@%d ' # special values:
|
|||||||
# %% = '%'
|
# %% = '%'
|
||||||
# e.g. '<%u%%%d> '
|
# e.g. '<%u%%%d> '
|
||||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||||
#log_statement = 'all' # none, ddl, mod, all
|
#log_statement = 'none' # none, ddl, mod, all
|
||||||
#log_replication_commands = off
|
#log_replication_commands = off
|
||||||
#log_temp_files = -1 # log temporary files equal or larger
|
#log_temp_files = -1 # log temporary files equal or larger
|
||||||
# than the specified size in kilobytes;
|
# than the specified size in kilobytes;
|
||||||
# -1 disables, 0 logs all temp files
|
# -1 disables, 0 logs all temp files
|
||||||
log_timezone = 'Europe/Prague'
|
log_timezone = 'Europe/Prague'
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
# - Process Title -
|
# PROCESS TITLE
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#cluster_name = '' # added to process titles if nonempty
|
#cluster_name = '' # added to process titles if nonempty
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -480,10 +548,10 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# RUNTIME STATISTICS
|
# STATISTICS
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Query/Index Statistics Collector -
|
# - Query and Index Statistics Collector -
|
||||||
|
|
||||||
#track_activities = on
|
#track_activities = on
|
||||||
#track_counts = on
|
#track_counts = on
|
||||||
@ -493,7 +561,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#stats_temp_directory = 'pg_stat_tmp'
|
#stats_temp_directory = 'pg_stat_tmp'
|
||||||
|
|
||||||
|
|
||||||
# - Statistics Monitoring -
|
# - Monitoring -
|
||||||
|
|
||||||
#log_parser_stats = off
|
#log_parser_stats = off
|
||||||
#log_planner_stats = off
|
#log_planner_stats = off
|
||||||
@ -502,7 +570,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# AUTOVACUUM PARAMETERS
|
# AUTOVACUUM
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
||||||
@ -525,7 +593,7 @@ log_timezone = 'Europe/Prague'
|
|||||||
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
|
||||||
# before forced vacuum
|
# before forced vacuum
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
|
||||||
# autovacuum, in milliseconds;
|
# autovacuum, in milliseconds;
|
||||||
# -1 means use vacuum_cost_delay
|
# -1 means use vacuum_cost_delay
|
||||||
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
||||||
@ -539,10 +607,22 @@ log_timezone = 'Europe/Prague'
|
|||||||
|
|
||||||
# - Statement Behavior -
|
# - Statement Behavior -
|
||||||
|
|
||||||
|
#client_min_messages = notice # values in order of decreasing detail:
|
||||||
|
# debug5
|
||||||
|
# debug4
|
||||||
|
# debug3
|
||||||
|
# debug2
|
||||||
|
# debug1
|
||||||
|
# log
|
||||||
|
# notice
|
||||||
|
# warning
|
||||||
|
# error
|
||||||
#search_path = '"$user", public' # schema names
|
#search_path = '"$user", public' # schema names
|
||||||
|
#row_security = on
|
||||||
#default_tablespace = '' # a tablespace name, '' uses the default
|
#default_tablespace = '' # a tablespace name, '' uses the default
|
||||||
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
||||||
# only default tablespace
|
# only default tablespace
|
||||||
|
#default_table_access_method = 'heap'
|
||||||
#check_function_bodies = on
|
#check_function_bodies = on
|
||||||
#default_transaction_isolation = 'read committed'
|
#default_transaction_isolation = 'read committed'
|
||||||
#default_transaction_read_only = off
|
#default_transaction_read_only = off
|
||||||
@ -555,6 +635,9 @@ log_timezone = 'Europe/Prague'
|
|||||||
#vacuum_freeze_table_age = 150000000
|
#vacuum_freeze_table_age = 150000000
|
||||||
#vacuum_multixact_freeze_min_age = 5000000
|
#vacuum_multixact_freeze_min_age = 5000000
|
||||||
#vacuum_multixact_freeze_table_age = 150000000
|
#vacuum_multixact_freeze_table_age = 150000000
|
||||||
|
#vacuum_cleanup_index_scale_factor = 0.1 # fraction of total number of tuples
|
||||||
|
# before index cleanup, 0 always performs
|
||||||
|
# index cleanup
|
||||||
#bytea_output = 'hex' # hex, escape
|
#bytea_output = 'hex' # hex, escape
|
||||||
#xmlbinary = 'base64'
|
#xmlbinary = 'base64'
|
||||||
#xmloption = 'content'
|
#xmloption = 'content'
|
||||||
@ -573,7 +656,8 @@ timezone = 'Europe/Prague'
|
|||||||
# India
|
# India
|
||||||
# You can create your own file in
|
# You can create your own file in
|
||||||
# share/timezonesets/.
|
# share/timezonesets/.
|
||||||
#extra_float_digits = 0 # min -15, max 3
|
#extra_float_digits = 1 # min -15, max 3; any value >0 actually
|
||||||
|
# selects precise output mode
|
||||||
#client_encoding = sql_ascii # actually, defaults to database
|
#client_encoding = sql_ascii # actually, defaults to database
|
||||||
# encoding
|
# encoding
|
||||||
|
|
||||||
@ -587,11 +671,16 @@ lc_time = 'C' # locale for time formatting
|
|||||||
# default configuration for text search
|
# default configuration for text search
|
||||||
default_text_search_config = 'pg_catalog.english'
|
default_text_search_config = 'pg_catalog.english'
|
||||||
|
|
||||||
|
# - Shared Library Preloading -
|
||||||
|
|
||||||
|
#shared_preload_libraries = '' # (change requires restart)
|
||||||
|
#local_preload_libraries = ''
|
||||||
|
#session_preload_libraries = ''
|
||||||
|
#jit_provider = 'llvmjit' # JIT library to use
|
||||||
|
|
||||||
# - Other Defaults -
|
# - Other Defaults -
|
||||||
|
|
||||||
#dynamic_library_path = '$libdir'
|
#dynamic_library_path = '$libdir'
|
||||||
#local_preload_libraries = ''
|
|
||||||
#session_preload_libraries = ''
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -610,14 +699,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# VERSION/PLATFORM COMPATIBILITY
|
# VERSION AND PLATFORM COMPATIBILITY
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Previous PostgreSQL Versions -
|
# - Previous PostgreSQL Versions -
|
||||||
|
|
||||||
#array_nulls = on
|
#array_nulls = on
|
||||||
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
||||||
#default_with_oids = off
|
|
||||||
#escape_string_warning = on
|
#escape_string_warning = on
|
||||||
#lo_compat_privileges = off
|
#lo_compat_privileges = off
|
||||||
#operator_precedence_warning = off
|
#operator_precedence_warning = off
|
||||||
@ -636,6 +724,9 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
|
|
||||||
#exit_on_error = off # terminate session on any error?
|
#exit_on_error = off # terminate session on any error?
|
||||||
#restart_after_crash = on # reinitialize after backend crash?
|
#restart_after_crash = on # reinitialize after backend crash?
|
||||||
|
#data_sync_retry = off # retry or panic on failure to fsync
|
||||||
|
# data?
|
||||||
|
# (change requires restart)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -643,12 +734,13 @@ default_text_search_config = 'pg_catalog.english'
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# These options allow settings to be loaded from files other than the
|
# These options allow settings to be loaded from files other than the
|
||||||
# default postgresql.conf.
|
# default postgresql.conf. Note that these are directives, not variable
|
||||||
|
# assignments, so they can usefully be given more than once.
|
||||||
|
|
||||||
#include_dir = 'conf.d' # include files ending in '.conf' from
|
#include_dir = '...' # include files ending in '.conf' from
|
||||||
# directory 'conf.d'
|
# a directory, e.g., 'conf.d'
|
||||||
#include_if_exists = 'exists.conf' # include file only if it exists
|
#include_if_exists = '...' # include file only if it exists
|
||||||
#include = 'special.conf' # include file
|
#include = '...' # include file
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user