-# -----------------------------\r
-# PostgreSQL configuration file\r
-# -----------------------------\r
-#\r
-# This file consists of lines of the form:\r
-#\r
-# name = value\r
-#\r
-# (The "=" is optional.) Whitespace may be used. Comments are introduced with\r
-# "#" anywhere on a line. The complete list of parameter names and allowed\r
-# values can be found in the PostgreSQL documentation.\r
-#\r
-# The commented-out settings shown in this file represent the default values.\r
-# Re-commenting a setting is NOT sufficient to revert it to the default value;\r
-# you need to reload the server.\r
-#\r
-# This file is read on server startup and when the server receives a SIGHUP\r
-# signal. If you edit the file on a running system, you have to SIGHUP the\r
-# server for the changes to take effect, or use "pg_ctl reload". Some\r
-# parameters, which are marked below, require a server shutdown and restart to\r
-# take effect.\r
-#\r
-# Any parameter can also be given as a command-line option to the server, e.g.,\r
-# "postgres -c log_connections=on". Some paramters can be changed at run time\r
-# with the "SET" SQL command.\r
-#\r
-# Memory units: kB = kilobytes MB = megabytes GB = gigabytes\r
-# Time units: ms = milliseconds s = seconds min = minutes h = hours d = days\r
-\r
-\r
-#------------------------------------------------------------------------------\r
-# FILE LOCATIONS\r
-#------------------------------------------------------------------------------\r
-\r
-# The default values of these variables are driven from the -D command-line\r
-# option or PGDATA environment variable, represented here as ConfigDir.\r
-\r
-#data_directory = 'ConfigDir' # use data in another directory\r
- # (change requires restart)\r
-#hba_file = 'ConfigDir/pg_hba.conf' # host-based authentication file\r
- # (change requires restart)\r
-#ident_file = 'ConfigDir/pg_ident.conf' # ident configuration file\r
- # (change requires restart)\r
-\r
-# If external_pid_file is not explicitly set, no extra PID file is written.\r
-#external_pid_file = '(none)' # write an extra PID file\r
- # (change requires restart)\r
-\r
-\r
-#------------------------------------------------------------------------------\r
-# CONNECTIONS AND AUTHENTICATION\r
-#------------------------------------------------------------------------------\r
-\r
-# - Connection Settings -\r
-\r
-listen_addresses = '*' # what IP address(es) to listen on;\r
- # comma-separated list of addresses;\r
- # defaults to 'localhost', '*' = all\r
- # (change requires restart)\r
-port = 5432 # (change requires restart)\r
-max_connections = 100 # (change requires restart)\r
-# Note: Increasing max_connections costs ~400 bytes of shared memory per \r
-# connection slot, plus lock space (see max_locks_per_transaction). You might\r
-# also need to raise shared_buffers to support more connections.\r
-#superuser_reserved_connections = 3 # (change requires restart)\r
-#unix_socket_directory = '' # (change requires restart)\r
-#unix_socket_group = '' # (change requires restart)\r
-#unix_socket_permissions = 0777 # begin with 0 to use octal notation\r
- # (change requires restart)\r
-#bonjour_name = '' # defaults to the computer name\r
- # (change requires restart)\r
-\r
-# - Security and Authentication -\r
-\r
-#authentication_timeout = 1min # 1s-600s\r
-#ssl = off # (change requires restart)\r
-#ssl_ciphers = 'ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH' # allowed SSL ciphers\r
- # (change requires restart)\r
-#password_encryption = on\r
-#db_user_namespace = off\r
-\r
-# Kerberos and GSSAPI\r
-#krb_server_keyfile = '' # (change requires restart)\r
-#krb_srvname = 'postgres' # (change requires restart, Kerberos only)\r
-#krb_server_hostname = '' # empty string matches any keytab entry\r
- # (change requires restart, Kerberos only)\r
-#krb_caseins_users = off # (change requires restart)\r
-#krb_realm = '' # (change requires restart)\r
-\r
-# - TCP Keepalives -\r
-# see "man 7 tcp" for details\r
-\r
-#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;\r
- # 0 selects the system default\r
-#tcp_keepalives_interval = 0 # TCP_KEEPINTVL, in seconds;\r
- # 0 selects the system default\r
-#tcp_keepalives_count = 0 # TCP_KEEPCNT;\r
- # 0 selects the system default\r
-\r
-\r
-#------------------------------------------------------------------------------\r
-# RESOURCE USAGE (except WAL)\r
-#------------------------------------------------------------------------------\r
-\r
-# - Memory -\r
-\r
-shared_buffers = 32MB # min 128kB or max_connections*16kB\r
- # (change requires restart)\r
-#temp_buffers = 8MB # min 800kB\r
-#max_prepared_transactions = 5 # can be 0 or more\r
- # (change requires restart)\r
-# Note: Increasing max_prepared_transactions costs ~600 bytes of shared memory\r
-# per transaction slot, plus lock space (see max_locks_per_transaction).\r
-#work_mem = 1MB # min 64kB\r
-#maintenance_work_mem = 16MB # min 1MB\r
-#max_stack_depth = 2MB # min 100kB\r
-\r
-# - Free Space Map -\r
-\r
-max_fsm_pages = 204800 # min max_fsm_relations*16, 6 bytes each\r
- # (change requires restart)\r
-#max_fsm_relations = 1000 # min 100, ~70 bytes each\r
- # (change requires restart)\r
-\r
-# - Kernel Resource Usage -\r
-\r
-#max_files_per_process = 1000 # min 25\r
- # (change requires restart)\r
-shared_preload_libraries = '$libdir/plugins/plugin_debugger.dll' # (change requires restart)\r
-\r
-# - Cost-Based Vacuum Delay -\r
-\r
-#vacuum_cost_delay = 0 # 0-1000 milliseconds\r
-#vacuum_cost_page_hit = 1 # 0-10000 credits\r
-#vacuum_cost_page_miss = 10 # 0-10000 credits\r
-#vacuum_cost_page_dirty = 20 # 0-10000 credits\r
-#vacuum_cost_limit = 200 # 1-10000 credits\r
-\r
-# - Background Writer -\r
-\r
-#bgwriter_delay = 200ms # 10-10000ms between rounds\r
-#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round\r
-#bgwriter_lru_multiplier = 2.0 # 0-10.0 multipler on buffers scanned/round\r
-\r
-\r
-#------------------------------------------------------------------------------\r
-# WRITE AHEAD LOG\r
-#------------------------------------------------------------------------------\r
-\r
-# - Settings -\r
-\r
-#fsync = on # turns forced synchronization on or off\r
-#synchronous_commit = on # immediate fsync at commit\r
-#wal_sync_method = fsync # the default is the first option \r
- # supported by the operating system:\r
- # open_datasync\r
- # fdatasync\r
- # fsync\r
- # fsync_writethrough\r
- # open_sync\r
-#full_page_writes = on # recover from partial page writes\r
-#wal_buffers = 64kB # min 32kB\r
- # (change requires restart)\r
-#wal_writer_delay = 200ms # 1-10000 milliseconds\r
-\r
-#commit_delay = 0 # range 0-100000, in microseconds\r
-#commit_siblings = 5 # range 1-1000\r
-\r
-# - Checkpoints -\r
-\r
-#checkpoint_segments = 3 # in logfile segments, min 1, 16MB each\r
-#checkpoint_timeout = 5min # range 30s-1h\r
-#checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0\r
-#checkpoint_warning = 30s # 0 is off\r
-\r
-# - Archiving -\r
-\r
-#archive_mode = off # allows archiving to be done\r
- # (change requires restart)\r
-#archive_command = '' # command to use to archive a logfile segment\r
-#archive_timeout = 0 # force a logfile segment switch after this\r
- # time; 0 is off\r
-\r
-\r
-#------------------------------------------------------------------------------\r
-# QUERY TUNING\r
-#------------------------------------------------------------------------------\r
-\r
-# - Planner Method Configuration -\r
-\r
-#enable_bitmapscan = on\r
-#enable_hashagg = on\r
-#enable_hashjoin = on\r
-#enable_indexscan = on\r
-#enable_mergejoin = on\r
-#enable_nestloop = on\r
-#enable_seqscan = on\r
-#enable_sort = on\r
-#enable_tidscan = on\r
-\r
-# - Planner Cost Constants -\r
-\r
-#seq_page_cost = 1.0 # measured on an arbitrary scale\r
-#random_page_cost = 4.0 # same scale as above\r
-#cpu_tuple_cost = 0.01 # same scale as above\r
-#cpu_index_tuple_cost = 0.005 # same scale as above\r
-#cpu_operator_cost = 0.0025 # same scale as above\r
-#effective_cache_size = 128MB\r
-\r
-# - Genetic Query Optimizer -\r
-\r
-#geqo = on\r
-#geqo_threshold = 12\r
-#geqo_effort = 5 # range 1-10\r
-#geqo_pool_size = 0 # selects default based on effort\r
-#geqo_generations = 0 # selects default based on effort\r
-#geqo_selection_bias = 2.0 # range 1.5-2.0\r
-\r
-# - Other Planner Options -\r
-\r
-#default_statistics_target = 10 # range 1-1000\r
-#constraint_exclusion = off\r
-#from_collapse_limit = 8\r
-#join_collapse_limit = 8 # 1 disables collapsing of explicit \r
- # JOIN clauses\r
-\r
-\r
-#------------------------------------------------------------------------------\r
-# ERROR REPORTING AND LOGGING\r
-#------------------------------------------------------------------------------\r
-\r
-# - Where to Log -\r
-\r
-log_destination = 'stderr' # Valid values are combinations of\r
- # stderr, csvlog, syslog and eventlog,\r
- # depending on platform. csvlog\r
- # requires logging_collector to be on.\r
-\r
-# This is used when logging to stderr:\r
-logging_collector = on # Enable capturing of stderr and csvlog\r
- # into log files. Required to be on for\r
- # csvlogs.\r
- # (change requires restart)\r
-\r
-# These are only used if logging_collector is on:\r
-#log_directory = 'pg_log' # directory where log files are written,\r
- # can be absolute or relative to PGDATA\r
-#log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern,\r
- # can include strftime() escapes\r
-#log_truncate_on_rotation = off # If on, an existing log file of the\r
- # same name as the new log file will be\r
- # truncated rather than appended to.\r
- # But such truncation only occurs on\r
- # time-driven rotation, not on restarts\r
- # or size-driven rotation. Default is\r
- # off, meaning append to existing files\r
- # in all cases.\r
-#log_rotation_age = 1d # Automatic rotation of logfiles will\r
- # happen after that time. 0 to disable.\r
-#log_rotation_size = 10MB # Automatic rotation of logfiles will \r
- # happen after that much log output.\r
- # 0 to disable.\r
-\r
-# These are relevant when logging to syslog:\r
-#syslog_facility = 'LOCAL0'\r
-#syslog_ident = 'postgres'\r
-\r
-\r
-# - When to Log -\r
-\r
-#client_min_messages = notice # values in order of decreasing detail:\r
- # debug5\r
- # debug4\r
- # debug3\r
- # debug2\r
- # debug1\r
- # log\r
- # notice\r
- # warning\r
- # error\r
-\r
-#log_min_messages = notice # values in order of decreasing detail:\r
- # debug5\r
- # debug4\r
- # debug3\r
- # debug2\r
- # debug1\r
- # info\r
- # notice\r
- # warning\r
- # error\r
- # log\r
- # fatal\r
- # panic\r
-\r
-#log_error_verbosity = default # terse, default, or verbose messages\r
-\r
-#log_min_error_statement = error # values in order of decreasing detail:\r
- # debug5\r
- # debug4\r
- # debug3\r
- # debug2\r
- # debug1\r
- # info\r
- # notice\r
- # warning\r
- # error\r
- # log\r
- # fatal\r
- # panic (effectively off)\r
-\r
-#log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements\r
- # and their durations, > 0 logs only\r
- # statements running at least this time.\r
-\r
-#silent_mode = off # DO NOT USE without syslog or\r
- # logging_collector\r
- # (change requires restart)\r
-\r
-# - What to Log -\r
-\r
-#debug_print_parse = off\r
-#debug_print_rewritten = off\r
-#debug_print_plan = off\r
-#debug_pretty_print = off\r
-#log_checkpoints = off\r
-#log_connections = off\r
-#log_disconnections = off\r
-#log_duration = off\r
-#log_hostname = off\r
-log_line_prefix = '%t ' # special values:\r
- # %u = user name\r
- # %d = database name\r
- # %r = remote host and port\r
- # %h = remote host\r
- # %p = process ID\r
- # %t = timestamp without milliseconds\r
- # %m = timestamp with milliseconds\r
- # %i = command tag\r
- # %c = session ID\r
- # %l = session line number\r
- # %s = session start timestamp\r
- # %v = virtual transaction ID\r
- # %x = transaction ID (0 if none)\r
- # %q = stop here in non-session\r
- # processes\r
- # %% = '%'\r
- # e.g. '<%u%%%d> '\r
-#log_lock_waits = off # log lock waits >= deadlock_timeout\r
-#log_statement = 'none' # none, ddl, mod, all\r
-#log_temp_files = -1 # log temporary files equal or larger\r
- # than specified size;\r
- # -1 disables, 0 logs all temp files\r
-#log_timezone = unknown # actually, defaults to TZ environment\r
- # setting\r
-\r
-\r
-#------------------------------------------------------------------------------\r
-# RUNTIME STATISTICS\r
-#------------------------------------------------------------------------------\r
-\r
-# - Query/Index Statistics Collector -\r
-\r
-#track_activities = on\r
-#track_counts = on\r
-#update_process_title = on\r
-\r
-\r
-# - Statistics Monitoring -\r
-\r
-#log_parser_stats = off\r
-#log_planner_stats = off\r
-#log_executor_stats = off\r
-#log_statement_stats = off\r
-\r
-\r
-#------------------------------------------------------------------------------\r
-# AUTOVACUUM PARAMETERS\r
-#------------------------------------------------------------------------------\r
-\r
-#autovacuum = on # Enable autovacuum subprocess? 'on' \r
- # requires track_counts to also be on.\r
-#log_autovacuum_min_duration = -1 # -1 disables, 0 logs all actions and\r
- # their durations, > 0 logs only\r
- # actions running at least that time.\r
-#autovacuum_max_workers = 3 # max number of autovacuum subprocesses\r
-#autovacuum_naptime = 1min # time between autovacuum runs\r
-#autovacuum_vacuum_threshold = 50 # min number of row updates before\r
- # vacuum\r
-#autovacuum_analyze_threshold = 50 # min number of row updates before \r
- # analyze\r
-#autovacuum_vacuum_scale_factor = 0.2 # fraction of table size before vacuum\r
-#autovacuum_analyze_scale_factor = 0.1 # fraction of table size before analyze\r
-#autovacuum_freeze_max_age = 200000000 # maximum XID age before forced vacuum\r
- # (change requires restart)\r
-#autovacuum_vacuum_cost_delay = 20 # default vacuum cost delay for\r
- # autovacuum, -1 means use\r
- # vacuum_cost_delay\r
-#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for\r
- # autovacuum, -1 means use\r
- # vacuum_cost_limit\r
-\r
-\r
-#------------------------------------------------------------------------------\r
-# CLIENT CONNECTION DEFAULTS\r
-#------------------------------------------------------------------------------\r
-\r
-# - Statement Behavior -\r
-\r
-#search_path = '"$user",public' # schema names\r
-#default_tablespace = '' # a tablespace name, '' uses the default\r
-#temp_tablespaces = '' # a list of tablespace names, '' uses\r
- # only default tablespace\r
-#check_function_bodies = on\r
-#default_transaction_isolation = 'read committed'\r
-#default_transaction_read_only = off\r
-#session_replication_role = 'origin'\r
-#statement_timeout = 0 # 0 is disabled\r
-#vacuum_freeze_min_age = 100000000\r
-#xmlbinary = 'base64'\r
-#xmloption = 'content'\r
-\r
-# - Locale and Formatting -\r
-\r
-datestyle = 'iso, mdy'\r
-#timezone = unknown # actually, defaults to TZ environment\r
- # setting\r
-#timezone_abbreviations = 'Default' # Select the set of available time zone\r
- # abbreviations. Currently, there are\r
- # Default\r
- # Australia\r
- # India\r
- # You can create your own file in\r
- # share/timezonesets/.\r
-#extra_float_digits = 0 # min -15, max 2\r
-#client_encoding = sql_ascii # actually, defaults to database\r
- # encoding\r
-\r
-# These settings are initialized by initdb, but they can be changed.\r
-lc_messages = 'C' # locale for system error message\r
- # strings\r
-lc_monetary = 'C' # locale for monetary formatting\r
-lc_numeric = 'C' # locale for number formatting\r
-lc_time = 'C' # locale for time formatting\r
-\r
-# default configuration for text search\r
-default_text_search_config = 'pg_catalog.english'\r
-\r
-# - Other Defaults -\r
-\r
-#explain_pretty_print = on\r
-#dynamic_library_path = '$libdir'\r
-#local_preload_libraries = ''\r
-\r
-\r
-#------------------------------------------------------------------------------\r
-# LOCK MANAGEMENT\r
-#------------------------------------------------------------------------------\r
-\r
-#deadlock_timeout = 1s\r
-#max_locks_per_transaction = 64 # min 10\r
- # (change requires restart)\r
-# Note: Each lock table slot uses ~270 bytes of shared memory, and there are\r
-# max_locks_per_transaction * (max_connections + max_prepared_transactions)\r
-# lock table slots.\r
-\r
-\r
-#------------------------------------------------------------------------------\r
-# VERSION/PLATFORM COMPATIBILITY\r
-#------------------------------------------------------------------------------\r
-\r
-# - Previous PostgreSQL Versions -\r
-\r
-#add_missing_from = off\r
-#array_nulls = on\r
-#backslash_quote = safe_encoding # on, off, or safe_encoding\r
-#default_with_oids = off\r
-#escape_string_warning = on\r
-#regex_flavor = advanced # advanced, extended, or basic\r
-#sql_inheritance = on\r
-#standard_conforming_strings = off\r
-#synchronize_seqscans = on\r
-\r
-# - Other Platforms and Clients -\r
-\r
-#transform_null_equals = off\r
-\r
-\r
-#------------------------------------------------------------------------------\r
-# CUSTOMIZED OPTIONS\r
-#------------------------------------------------------------------------------\r
-\r
-#custom_variable_classes = '' # list of custom variable class names\r