Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
postgresql.conf.sample821 linesDownload Raw Back to share
1# -----------------------------2# PostgreSQL configuration file3# -----------------------------4#5# This file consists of lines of the form:6#7#   name = value8#9# (The "=" is optional.)  Whitespace may be used.  Comments are introduced with10# "#" anywhere on a line.  The complete list of parameter names and allowed11# values can be found in the PostgreSQL documentation.12#13# The commented-out settings shown in this file represent the default values.14# Re-commenting a setting is NOT sufficient to revert it to the default value;15# you need to reload the server.16#17# This file is read on server startup and when the server receives a SIGHUP18# signal.  If you edit the file on a running system, you have to SIGHUP the19# server for the changes to take effect, run "pg_ctl reload", or execute20# "SELECT pg_reload_conf()".  Some parameters, which are marked below,21# require a server shutdown and restart to take effect.22#23# Any parameter can also be given as a command-line option to the server, e.g.,24# "postgres -c log_connections=on".  Some parameters can be changed at run time25# with the "SET" SQL command.26#27# Memory units:  B  = bytes            Time units:  us  = microseconds28#                kB = kilobytes                     ms  = milliseconds29#                MB = megabytes                     s   = seconds30#                GB = gigabytes                     min = minutes31#                TB = terabytes                     h   = hours32#                                                   d   = days33 34 35#------------------------------------------------------------------------------36# FILE LOCATIONS37#------------------------------------------------------------------------------38 39# The default values of these variables are driven from the -D command-line40# option or PGDATA environment variable, represented here as ConfigDir.41 42#data_directory = 'ConfigDir'		# use data in another directory43					# (change requires restart)44#hba_file = 'ConfigDir/pg_hba.conf'	# host-based authentication file45					# (change requires restart)46#ident_file = 'ConfigDir/pg_ident.conf'	# ident configuration file47					# (change requires restart)48 49# If external_pid_file is not explicitly set, no extra PID file is written.50#external_pid_file = ''			# write an extra PID file51					# (change requires restart)52 53 54#------------------------------------------------------------------------------55# CONNECTIONS AND AUTHENTICATION56#------------------------------------------------------------------------------57 58# - Connection Settings -59 60#listen_addresses = 'localhost'		# what IP address(es) to listen on;61					# comma-separated list of addresses;62					# defaults to 'localhost'; use '*' for all63					# (change requires restart)64#port = 5432				# (change requires restart)65#max_connections = 100			# (change requires restart)66#reserved_connections = 0		# (change requires restart)67#superuser_reserved_connections = 3	# (change requires restart)68#unix_socket_directories = '/tmp'	# comma-separated list of directories69					# (change requires restart)70#unix_socket_group = ''			# (change requires restart)71#unix_socket_permissions = 0777		# begin with 0 to use octal notation72					# (change requires restart)73#bonjour = off				# advertise server via Bonjour74					# (change requires restart)75#bonjour_name = ''			# defaults to the computer name76					# (change requires restart)77 78# - TCP settings -79# see "man tcp" for details80 81#tcp_keepalives_idle = 0		# TCP_KEEPIDLE, in seconds;82					# 0 selects the system default83#tcp_keepalives_interval = 0		# TCP_KEEPINTVL, in seconds;84					# 0 selects the system default85#tcp_keepalives_count = 0		# TCP_KEEPCNT;86					# 0 selects the system default87#tcp_user_timeout = 0			# TCP_USER_TIMEOUT, in milliseconds;88					# 0 selects the system default89 90#client_connection_check_interval = 0	# time between checks for client91					# disconnection while running queries;92					# 0 for never93 94# - Authentication -95 96#authentication_timeout = 1min		# 1s-600s97#password_encryption = scram-sha-256	# scram-sha-256 or md598#scram_iterations = 409699#db_user_namespace = off100 101# GSSAPI using Kerberos102#krb_server_keyfile = 'FILE:${sysconfdir}/krb5.keytab'103#krb_caseins_users = off104#gss_accept_delegation = off105 106# - SSL -107 108#ssl = off109#ssl_ca_file = ''110#ssl_cert_file = 'server.crt'111#ssl_crl_file = ''112#ssl_crl_dir = ''113#ssl_key_file = 'server.key'114#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers115#ssl_prefer_server_ciphers = on116#ssl_ecdh_curve = 'prime256v1'117#ssl_min_protocol_version = 'TLSv1.2'118#ssl_max_protocol_version = ''119#ssl_dh_params_file = ''120#ssl_passphrase_command = ''121#ssl_passphrase_command_supports_reload = off122 123 124#------------------------------------------------------------------------------125# RESOURCE USAGE (except WAL)126#------------------------------------------------------------------------------127 128# - Memory -129 130#shared_buffers = 128MB			# min 128kB131					# (change requires restart)132#huge_pages = try			# on, off, or try133					# (change requires restart)134#huge_page_size = 0			# zero for system default135					# (change requires restart)136#temp_buffers = 8MB			# min 800kB137#max_prepared_transactions = 0		# zero disables the feature138					# (change requires restart)139# Caution: it is not advisable to set max_prepared_transactions nonzero unless140# you actively intend to use prepared transactions.141#work_mem = 4MB				# min 64kB142#hash_mem_multiplier = 2.0		# 1-1000.0 multiplier on hash table work_mem143#maintenance_work_mem = 64MB		# min 1MB144#autovacuum_work_mem = -1		# min 1MB, or -1 to use maintenance_work_mem145#logical_decoding_work_mem = 64MB	# min 64kB146#max_stack_depth = 2MB			# min 100kB147#shared_memory_type = mmap		# the default is the first option148					# supported by the operating system:149					#   mmap150					#   sysv151					#   windows152					# (change requires restart)153#dynamic_shared_memory_type = posix	# the default is usually the first option154					# supported by the operating system:155					#   posix156					#   sysv157					#   windows158					#   mmap159					# (change requires restart)160#min_dynamic_shared_memory = 0MB	# (change requires restart)161#vacuum_buffer_usage_limit = 256kB	# size of vacuum and analyze buffer access strategy ring;162					# 0 to disable vacuum buffer access strategy;163					# range 128kB to 16GB164 165# - Disk -166 167#temp_file_limit = -1			# limits per-process temp file space168					# in kilobytes, or -1 for no limit169 170# - Kernel Resources -171 172#max_files_per_process = 1000		# min 64173					# (change requires restart)174 175# - Cost-Based Vacuum Delay -176 177#vacuum_cost_delay = 0			# 0-100 milliseconds (0 disables)178#vacuum_cost_page_hit = 1		# 0-10000 credits179#vacuum_cost_page_miss = 2		# 0-10000 credits180#vacuum_cost_page_dirty = 20		# 0-10000 credits181#vacuum_cost_limit = 200		# 1-10000 credits182 183# - Background Writer -184 185#bgwriter_delay = 200ms			# 10-10000ms between rounds186#bgwriter_lru_maxpages = 100		# max buffers written/round, 0 disables187#bgwriter_lru_multiplier = 2.0		# 0-10.0 multiplier on buffers scanned/round188#bgwriter_flush_after = 0		# measured in pages, 0 disables189 190# - Asynchronous Behavior -191 192#backend_flush_after = 0		# measured in pages, 0 disables193#effective_io_concurrency = 1		# 1-1000; 0 disables prefetching194#maintenance_io_concurrency = 10	# 1-1000; 0 disables prefetching195#max_worker_processes = 8		# (change requires restart)196#max_parallel_workers_per_gather = 2	# limited by max_parallel_workers197#max_parallel_maintenance_workers = 2	# limited by max_parallel_workers198#max_parallel_workers = 8		# number of max_worker_processes that199					# can be used in parallel operations200#parallel_leader_participation = on201#old_snapshot_threshold = -1		# 1min-60d; -1 disables; 0 is immediate202					# (change requires restart)203 204 205#------------------------------------------------------------------------------206# WRITE-AHEAD LOG207#------------------------------------------------------------------------------208 209# - Settings -210 211#wal_level = replica			# minimal, replica, or logical212					# (change requires restart)213#fsync = on				# flush data to disk for crash safety214					# (turning this off can cause215					# unrecoverable data corruption)216#synchronous_commit = on		# synchronization level;217					# off, local, remote_write, remote_apply, or on218#wal_sync_method = fsync		# the default is the first option219					# supported by the operating system:220					#   open_datasync221					#   fdatasync (default on Linux and FreeBSD)222					#   fsync223					#   fsync_writethrough224					#   open_sync225#full_page_writes = on			# recover from partial page writes226#wal_log_hints = off			# also do full page writes of non-critical updates227					# (change requires restart)228#wal_compression = off			# enables compression of full-page writes;229					# off, pglz, lz4, zstd, or on230#wal_init_zero = on			# zero-fill new WAL files231#wal_recycle = on			# recycle WAL files232#wal_buffers = -1			# min 32kB, -1 sets based on shared_buffers233					# (change requires restart)234#wal_writer_delay = 200ms		# 1-10000 milliseconds235#wal_writer_flush_after = 1MB		# measured in pages, 0 disables236#wal_skip_threshold = 2MB237 238#commit_delay = 0			# range 0-100000, in microseconds239#commit_siblings = 5			# range 1-1000240 241# - Checkpoints -242 243#checkpoint_timeout = 5min		# range 30s-1d244#checkpoint_completion_target = 0.9	# checkpoint target duration, 0.0 - 1.0245#checkpoint_flush_after = 0		# measured in pages, 0 disables246#checkpoint_warning = 30s		# 0 disables247#max_wal_size = 1GB248#min_wal_size = 80MB249 250# - Prefetching during recovery -251 252#recovery_prefetch = try		# prefetch pages referenced in the WAL?253#wal_decode_buffer_size = 512kB		# lookahead window used for prefetching254					# (change requires restart)255 256# - Archiving -257 258#archive_mode = off		# enables archiving; off, on, or always259				# (change requires restart)260#archive_library = ''		# library to use to archive a WAL file261				# (empty string indicates archive_command should262				# be used)263#archive_command = ''		# command to use to archive a WAL file264				# placeholders: %p = path of file to archive265				#               %f = file name only266				# e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f'267#archive_timeout = 0		# force a WAL file switch after this268				# number of seconds; 0 disables269 270# - Archive Recovery -271 272# These are only used in recovery mode.273 274#restore_command = ''		# command to use to restore an archived WAL file275				# placeholders: %p = path of file to restore276				#               %f = file name only277				# e.g. 'cp /mnt/server/archivedir/%f %p'278#archive_cleanup_command = ''	# command to execute at every restartpoint279#recovery_end_command = ''	# command to execute at completion of recovery280 281# - Recovery Target -282 283# Set these only when performing a targeted recovery.284 285#recovery_target = ''		# 'immediate' to end recovery as soon as a286                                # consistent state is reached287				# (change requires restart)288#recovery_target_name = ''	# the named restore point to which recovery will proceed289				# (change requires restart)290#recovery_target_time = ''	# the time stamp up to which recovery will proceed291				# (change requires restart)292#recovery_target_xid = ''	# the transaction ID up to which recovery will proceed293				# (change requires restart)294#recovery_target_lsn = ''	# the WAL LSN up to which recovery will proceed295				# (change requires restart)296#recovery_target_inclusive = on # Specifies whether to stop:297				# just after the specified recovery target (on)298				# just before the recovery target (off)299				# (change requires restart)300#recovery_target_timeline = 'latest'	# 'current', 'latest', or timeline ID301				# (change requires restart)302#recovery_target_action = 'pause'	# 'pause', 'promote', 'shutdown'303				# (change requires restart)304 305 306#------------------------------------------------------------------------------307# REPLICATION308#------------------------------------------------------------------------------309 310# - Sending Servers -311 312# Set these on the primary and on any standby that will send replication data.313 314#max_wal_senders = 10		# max number of walsender processes315				# (change requires restart)316#max_replication_slots = 10	# max number of replication slots317				# (change requires restart)318#wal_keep_size = 0		# in megabytes; 0 disables319#max_slot_wal_keep_size = -1	# in megabytes; -1 disables320#wal_sender_timeout = 60s	# in milliseconds; 0 disables321#track_commit_timestamp = off	# collect timestamp of transaction commit322				# (change requires restart)323 324# - Primary Server -325 326# These settings are ignored on a standby server.327 328#synchronous_standby_names = ''	# standby servers that provide sync rep329				# method to choose sync standbys, number of sync standbys,330				# and comma-separated list of application_name331				# from standby(s); '*' = all332 333# - Standby Servers -334 335# These settings are ignored on a primary server.336 337#primary_conninfo = ''			# connection string to sending server338#primary_slot_name = ''			# replication slot on sending server339#hot_standby = on			# "off" disallows queries during recovery340					# (change requires restart)341#max_standby_archive_delay = 30s	# max delay before canceling queries342					# when reading WAL from archive;343					# -1 allows indefinite delay344#max_standby_streaming_delay = 30s	# max delay before canceling queries345					# when reading streaming WAL;346					# -1 allows indefinite delay347#wal_receiver_create_temp_slot = off	# create temp slot if primary_slot_name348					# is not set349#wal_receiver_status_interval = 10s	# send replies at least this often350					# 0 disables351#hot_standby_feedback = off		# send info from standby to prevent352					# query conflicts353#wal_receiver_timeout = 60s		# time that receiver waits for354					# communication from primary355					# in milliseconds; 0 disables356#wal_retrieve_retry_interval = 5s	# time to wait before retrying to357					# retrieve WAL after a failed attempt358#recovery_min_apply_delay = 0		# minimum delay for applying changes during recovery359 360# - Subscribers -361 362# These settings are ignored on a publisher.363 364#max_logical_replication_workers = 4	# taken from max_worker_processes365					# (change requires restart)366#max_sync_workers_per_subscription = 2	# taken from max_logical_replication_workers367#max_parallel_apply_workers_per_subscription = 2	# taken from max_logical_replication_workers368 369 370#------------------------------------------------------------------------------371# QUERY TUNING372#------------------------------------------------------------------------------373 374# - Planner Method Configuration -375 376#enable_async_append = on377#enable_bitmapscan = on378#enable_gathermerge = on379#enable_hashagg = on380#enable_hashjoin = on381#enable_incremental_sort = on382#enable_indexscan = on383#enable_indexonlyscan = on384#enable_material = on385#enable_memoize = on386#enable_mergejoin = on387#enable_nestloop = on388#enable_parallel_append = on389#enable_parallel_hash = on390#enable_partition_pruning = on391#enable_partitionwise_join = off392#enable_partitionwise_aggregate = off393#enable_presorted_aggregate = on394#enable_seqscan = on395#enable_sort = on396#enable_tidscan = on397 398# - Planner Cost Constants -399 400#seq_page_cost = 1.0			# measured on an arbitrary scale401#random_page_cost = 4.0			# same scale as above402#cpu_tuple_cost = 0.01			# same scale as above403#cpu_index_tuple_cost = 0.005		# same scale as above404#cpu_operator_cost = 0.0025		# same scale as above405#parallel_setup_cost = 1000.0	# same scale as above406#parallel_tuple_cost = 0.1		# same scale as above407#min_parallel_table_scan_size = 8MB408#min_parallel_index_scan_size = 512kB409#effective_cache_size = 4GB410 411#jit_above_cost = 100000		# perform JIT compilation if available412					# and query more expensive than this;413					# -1 disables414#jit_inline_above_cost = 500000		# inline small functions if query is415					# more expensive than this; -1 disables416#jit_optimize_above_cost = 500000	# use expensive JIT optimizations if417					# query is more expensive than this;418					# -1 disables419 420# - Genetic Query Optimizer -421 422#geqo = on423#geqo_threshold = 12424#geqo_effort = 5			# range 1-10425#geqo_pool_size = 0			# selects default based on effort426#geqo_generations = 0			# selects default based on effort427#geqo_selection_bias = 2.0		# range 1.5-2.0428#geqo_seed = 0.0			# range 0.0-1.0429 430# - Other Planner Options -431 432#default_statistics_target = 100	# range 1-10000433#constraint_exclusion = partition	# on, off, or partition434#cursor_tuple_fraction = 0.1		# range 0.0-1.0435#from_collapse_limit = 8436#jit = on				# allow JIT compilation437#join_collapse_limit = 8		# 1 disables collapsing of explicit438					# JOIN clauses439#plan_cache_mode = auto			# auto, force_generic_plan or440					# force_custom_plan441#recursive_worktable_factor = 10.0	# range 0.001-1000000442 443 444#------------------------------------------------------------------------------445# REPORTING AND LOGGING446#------------------------------------------------------------------------------447 448# - Where to Log -449 450#log_destination = 'stderr'		# Valid values are combinations of451					# stderr, csvlog, jsonlog, syslog, and452					# eventlog, depending on platform.453					# csvlog and jsonlog require454					# logging_collector to be on.455 456# This is used when logging to stderr:457#logging_collector = off		# Enable capturing of stderr, jsonlog,458					# and csvlog into log files. Required459					# to be on for csvlogs and jsonlogs.460					# (change requires restart)461 462# These are only used if logging_collector is on:463#log_directory = 'log'			# directory where log files are written,464					# can be absolute or relative to PGDATA465#log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'	# log file name pattern,466					# can include strftime() escapes467#log_file_mode = 0600			# creation mode for log files,468					# begin with 0 to use octal notation469#log_rotation_age = 1d			# Automatic rotation of logfiles will470					# happen after that time.  0 disables.471#log_rotation_size = 10MB		# Automatic rotation of logfiles will472					# happen after that much log output.473					# 0 disables.474#log_truncate_on_rotation = off		# If on, an existing log file with the475					# same name as the new log file will be476					# truncated rather than appended to.477					# But such truncation only occurs on478					# time-driven rotation, not on restarts479					# or size-driven rotation.  Default is480					# off, meaning append to existing files481					# in all cases.482 483# These are relevant when logging to syslog:484#syslog_facility = 'LOCAL0'485#syslog_ident = 'postgres'486#syslog_sequence_numbers = on487#syslog_split_messages = on488 489# This is only relevant when logging to eventlog (Windows):490# (change requires restart)491#event_source = 'PostgreSQL'492 493# - When to Log -494 495#log_min_messages = warning		# values in order of decreasing detail:496					#   debug5497					#   debug4498					#   debug3499					#   debug2500					#   debug1501					#   info502					#   notice503					#   warning504					#   error505					#   log506					#   fatal507					#   panic508 509#log_min_error_statement = error	# values in order of decreasing detail:510					#   debug5511					#   debug4512					#   debug3513					#   debug2514					#   debug1515					#   info516					#   notice517					#   warning518					#   error519					#   log520					#   fatal521					#   panic (effectively off)522 523#log_min_duration_statement = -1	# -1 is disabled, 0 logs all statements524					# and their durations, > 0 logs only525					# statements running at least this number526					# of milliseconds527 528#log_min_duration_sample = -1		# -1 is disabled, 0 logs a sample of statements529					# and their durations, > 0 logs only a sample of530					# statements running at least this number531					# of milliseconds;532					# sample fraction is determined by log_statement_sample_rate533 534#log_statement_sample_rate = 1.0	# fraction of logged statements exceeding535					# log_min_duration_sample to be logged;536					# 1.0 logs all such statements, 0.0 never logs537 538 539#log_transaction_sample_rate = 0.0	# fraction of transactions whose statements540					# are logged regardless of their duration; 1.0 logs all541					# statements from all transactions, 0.0 never logs542 543#log_startup_progress_interval = 10s	# Time between progress updates for544					# long-running startup operations.545					# 0 disables the feature, > 0 indicates546					# the interval in milliseconds.547 548# - What to Log -549 550#debug_print_parse = off551#debug_print_rewritten = off552#debug_print_plan = off553#debug_pretty_print = on554#log_autovacuum_min_duration = 10min	# log autovacuum activity;555					# -1 disables, 0 logs all actions and556					# their durations, > 0 logs only557					# actions running at least this number558					# of milliseconds.559#log_checkpoints = on560#log_connections = off561#log_disconnections = off562#log_duration = off563#log_error_verbosity = default		# terse, default, or verbose messages564#log_hostname = off565#log_line_prefix = '%m [%p] '		# special values:566					#   %a = application name567					#   %u = user name568					#   %d = database name569					#   %r = remote host and port570					#   %h = remote host571					#   %b = backend type572					#   %p = process ID573					#   %P = process ID of parallel group leader574					#   %t = timestamp without milliseconds575					#   %m = timestamp with milliseconds576					#   %n = timestamp with milliseconds (as a Unix epoch)577					#   %Q = query ID (0 if none or not computed)578					#   %i = command tag579					#   %e = SQL state580					#   %c = session ID581					#   %l = session line number582					#   %s = session start timestamp583					#   %v = virtual transaction ID584					#   %x = transaction ID (0 if none)585					#   %q = stop here in non-session586					#        processes587					#   %% = '%'588					# e.g. '<%u%%%d> '589#log_lock_waits = off			# log lock waits >= deadlock_timeout590#log_recovery_conflict_waits = off	# log standby recovery conflict waits591					# >= deadlock_timeout592#log_parameter_max_length = -1		# when logging statements, limit logged593					# bind-parameter values to N bytes;594					# -1 means print in full, 0 disables595#log_parameter_max_length_on_error = 0	# when logging an error, limit logged596					# bind-parameter values to N bytes;597					# -1 means print in full, 0 disables598#log_statement = 'none'			# none, ddl, mod, all599#log_replication_commands = off600#log_temp_files = -1			# log temporary files equal or larger601					# than the specified size in kilobytes;602					# -1 disables, 0 logs all temp files603#log_timezone = 'GMT'604 605# - Process Title -606 607#cluster_name = ''			# added to process titles if nonempty608					# (change requires restart)609#update_process_title = on610 611 612#------------------------------------------------------------------------------613# STATISTICS614#------------------------------------------------------------------------------615 616# - Cumulative Query and Index Statistics -617 618#track_activities = on619#track_activity_query_size = 1024	# (change requires restart)620#track_counts = on621#track_io_timing = off622#track_wal_io_timing = off623#track_functions = none			# none, pl, all624#stats_fetch_consistency = cache	# cache, none, snapshot625 626 627# - Monitoring -628 629#compute_query_id = auto630#log_statement_stats = off631#log_parser_stats = off632#log_planner_stats = off633#log_executor_stats = off634 635 636#------------------------------------------------------------------------------637# AUTOVACUUM638#------------------------------------------------------------------------------639 640#autovacuum = on			# Enable autovacuum subprocess?  'on'641					# requires track_counts to also be on.642#autovacuum_max_workers = 3		# max number of autovacuum subprocesses643					# (change requires restart)644#autovacuum_naptime = 1min		# time between autovacuum runs645#autovacuum_vacuum_threshold = 50	# min number of row updates before646					# vacuum647#autovacuum_vacuum_insert_threshold = 1000	# min number of row inserts648					# before vacuum; -1 disables insert649					# vacuums650#autovacuum_analyze_threshold = 50	# min number of row updates before651					# analyze652#autovacuum_vacuum_scale_factor = 0.2	# fraction of table size before vacuum653#autovacuum_vacuum_insert_scale_factor = 0.2	# fraction of inserts over table654					# size before insert vacuum655#autovacuum_analyze_scale_factor = 0.1	# fraction of table size before analyze656#autovacuum_freeze_max_age = 200000000	# maximum XID age before forced vacuum657					# (change requires restart)658#autovacuum_multixact_freeze_max_age = 400000000	# maximum multixact age659					# before forced vacuum660					# (change requires restart)661#autovacuum_vacuum_cost_delay = 2ms	# default vacuum cost delay for662					# autovacuum, in milliseconds;663					# -1 means use vacuum_cost_delay664#autovacuum_vacuum_cost_limit = -1	# default vacuum cost limit for665					# autovacuum, -1 means use666					# vacuum_cost_limit667 668 669#------------------------------------------------------------------------------670# CLIENT CONNECTION DEFAULTS671#------------------------------------------------------------------------------672 673# - Statement Behavior -674 675#client_min_messages = notice		# values in order of decreasing detail:676					#   debug5677					#   debug4678					#   debug3679					#   debug2680					#   debug1681					#   log682					#   notice683					#   warning684					#   error685#search_path = '"$user", public'	# schema names686#row_security = on687#default_table_access_method = 'heap'688#default_tablespace = ''		# a tablespace name, '' uses the default689#default_toast_compression = 'pglz'	# 'pglz' or 'lz4'690#temp_tablespaces = ''			# a list of tablespace names, '' uses691					# only default tablespace692#check_function_bodies = on693#default_transaction_isolation = 'read committed'694#default_transaction_read_only = off695#default_transaction_deferrable = off696#session_replication_role = 'origin'697#statement_timeout = 0			# in milliseconds, 0 is disabled698#lock_timeout = 0			# in milliseconds, 0 is disabled699#idle_in_transaction_session_timeout = 0	# in milliseconds, 0 is disabled700#idle_session_timeout = 0		# in milliseconds, 0 is disabled701#vacuum_freeze_table_age = 150000000702#vacuum_freeze_min_age = 50000000703#vacuum_failsafe_age = 1600000000704#vacuum_multixact_freeze_table_age = 150000000705#vacuum_multixact_freeze_min_age = 5000000706#vacuum_multixact_failsafe_age = 1600000000707#bytea_output = 'hex'			# hex, escape708#xmlbinary = 'base64'709#xmloption = 'content'710#gin_pending_list_limit = 4MB711#createrole_self_grant = ''		# set and/or inherit712 713# - Locale and Formatting -714 715#datestyle = 'iso, mdy'716#intervalstyle = 'postgres'717#timezone = 'GMT'718#timezone_abbreviations = 'Default'     # Select the set of available time zone719					# abbreviations.  Currently, there are720					#   Default721					#   Australia (historical usage)722					#   India723					# You can create your own file in724					# share/timezonesets/.725#extra_float_digits = 1			# min -15, max 3; any value >0 actually726					# selects precise output mode727#client_encoding = sql_ascii		# actually, defaults to database728					# encoding729 730# These settings are initialized by initdb, but they can be changed.731#lc_messages = ''			# locale for system error message732					# strings733#lc_monetary = 'C'			# locale for monetary formatting734#lc_numeric = 'C'			# locale for number formatting735#lc_time = 'C'				# locale for time formatting736 737#icu_validation_level = warning		# report ICU locale validation738					# errors at the given level739 740# default configuration for text search741#default_text_search_config = 'pg_catalog.simple'742 743# - Shared Library Preloading -744 745#local_preload_libraries = ''746#session_preload_libraries = ''747#shared_preload_libraries = ''	# (change requires restart)748#jit_provider = 'llvmjit'		# JIT library to use749 750# - Other Defaults -751 752#dynamic_library_path = '$libdir'753#gin_fuzzy_search_limit = 0754 755 756#------------------------------------------------------------------------------757# LOCK MANAGEMENT758#------------------------------------------------------------------------------759 760#deadlock_timeout = 1s761#max_locks_per_transaction = 64		# min 10762					# (change requires restart)763#max_pred_locks_per_transaction = 64	# min 10764					# (change requires restart)765#max_pred_locks_per_relation = -2	# negative values mean766					# (max_pred_locks_per_transaction767					#  / -max_pred_locks_per_relation) - 1768#max_pred_locks_per_page = 2            # min 0769 770 771#------------------------------------------------------------------------------772# VERSION AND PLATFORM COMPATIBILITY773#------------------------------------------------------------------------------774 775# - Previous PostgreSQL Versions -776 777#array_nulls = on778#backslash_quote = safe_encoding	# on, off, or safe_encoding779#escape_string_warning = on780#lo_compat_privileges = off781#quote_all_identifiers = off782#standard_conforming_strings = on783#synchronize_seqscans = on784 785# - Other Platforms and Clients -786 787#transform_null_equals = off788 789 790#------------------------------------------------------------------------------791# ERROR HANDLING792#------------------------------------------------------------------------------793 794#exit_on_error = off			# terminate session on any error?795#restart_after_crash = on		# reinitialize after backend crash?796#data_sync_retry = off			# retry or panic on failure to fsync797					# data?798					# (change requires restart)799#recovery_init_sync_method = fsync	# fsync, syncfs (Linux 5.8+)800 801 802#------------------------------------------------------------------------------803# CONFIG FILE INCLUDES804#------------------------------------------------------------------------------805 806# These options allow settings to be loaded from files other than the807# default postgresql.conf.  Note that these are directives, not variable808# assignments, so they can usefully be given more than once.809 810#include_dir = '...'			# include files ending in '.conf' from811					# a directory, e.g., 'conf.d'812#include_if_exists = '...'		# include file only if it exists813#include = '...'			# include file814 815 816#------------------------------------------------------------------------------817# CUSTOMIZED OPTIONS818#------------------------------------------------------------------------------819 820# Add settings for extensions here821 
codekingpro/portable-devtools · Team Ai