Guest User

Untitled

a guest
May 16th, 2023
32
0
8 hours
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
autoconf 30.81 KB | None | 0 0
  1. # -----------------------------
  2. # PostgreSQL configuration file
  3. # -----------------------------
  4. #
  5. # This file consists of lines of the form:
  6. #
  7. #   name = value
  8. #
  9. # (The "=" is optional.)  Whitespace may be used.  Comments are introduced with
  10. # "#" anywhere on a line.  The complete list of parameter names and allowed
  11. # values can be found in the PostgreSQL documentation.
  12. #
  13. # The commented-out settings shown in this file represent the default values.
  14. # Re-commenting a setting is NOT sufficient to revert it to the default value;
  15. # you need to reload the server.
  16. #
  17. # This file is read on server startup and when the server receives a SIGHUP
  18. # signal.  If you edit the file on a running system, you have to SIGHUP the
  19. # server for the changes to take effect, or use "pg_ctl reload".  Some
  20. # parameters, which are marked below, require a server shutdown and restart to
  21. # take effect.
  22. #
  23. # Any parameter can also be given as a command-line option to the server, e.g.,
  24. # "postgres -c log_connections=on".  Some parameters can be changed at run time
  25. # with the "SET" SQL command.
  26. #
  27. # Memory units:  kB = kilobytes        Time units:  ms  = milliseconds
  28. #                MB = megabytes                     s   = seconds
  29. #                GB = gigabytes                     min = minutes
  30. #                TB = terabytes                     h   = hours
  31. #                                                   d   = days
  32.  
  33.  
  34. #------------------------------------------------------------------------------
  35. # FILE LOCATIONS
  36. #------------------------------------------------------------------------------
  37.  
  38. # The default values of these variables are driven from the -D command-line
  39. # option or PGDATA environment variable, represented here as ConfigDir.
  40.  
  41. data_directory = '/var/lib/postgresql/15/main'          # use data in another directory
  42.                                         # (change requires restart)
  43. hba_file = '/etc/postgresql/15/main/pg_hba.conf'        # host-based authentication file
  44.                                         # (change requires restart)
  45. ident_file = '/etc/postgresql/15/main/pg_ident.conf'    # ident configuration file
  46.                                         # (change requires restart)
  47.  
  48. # If external_pid_file is not explicitly set, no extra PID file is written.
  49. external_pid_file = '/var/run/postgresql/15-main.pid'                   # write an extra PID file
  50.                                         # (change requires restart)
  51.  
  52.  
  53. #------------------------------------------------------------------------------
  54. # CONNECTIONS AND AUTHENTICATION
  55. #------------------------------------------------------------------------------
  56.  
  57. # - Connection Settings -
  58.  
  59. listen_addresses = '*'
  60. #listen_addresses = 'localhost'         # what IP address(es) to listen on;
  61.                                         # comma-separated list of addresses;
  62.                                         # defaults to 'localhost'; use '*' for all
  63.                                         # (change requires restart)
  64. port = 5432                             # (change requires restart)
  65. max_connections = 100                   # (change requires restart)
  66. superuser_reserved_connections = 1      # (change requires restart)
  67. unix_socket_directories = '/var/run/postgresql' # comma-separated list of directories
  68.                                         # (change requires restart)
  69. #unix_socket_group = ''                 # (change requires restart)
  70. #unix_socket_permissions = 0777         # begin with 0 to use octal notation
  71.                                         # (change requires restart)
  72. #bonjour = off                          # advertise server via Bonjour
  73.                                         # (change requires restart)
  74. #bonjour_name = ''                      # defaults to the computer name
  75.                                         # (change requires restart)
  76.  
  77. # - Security and Authentication -
  78.  
  79. #authentication_timeout = 1min          # 1s-600s
  80. #ssl = false                            # (change requires restart)
  81. #ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
  82.                                         # (change requires restart)
  83. #ssl_prefer_server_ciphers = on         # (change requires restart)
  84. #ssl_ecdh_curve = 'prime256v1'          # (change requires restart)
  85. ssl_cert_file = '/etc/ssl/certs/ssl-cert-snakeoil.pem'          # (change requires restart)
  86. ssl_key_file = '/etc/ssl/private/ssl-cert-snakeoil.key'         # (change requires restart)
  87. #ssl_ca_file = ''                       # (change requires restart)
  88. #ssl_crl_file = ''                      # (change requires restart)
  89. #password_encryption = on
  90. #db_user_namespace = off
  91. #row_security = on
  92.  
  93. # GSSAPI using Kerberos
  94. #krb_server_keyfile = ''
  95. #krb_caseins_users = off
  96.  
  97. # - TCP Keepalives -
  98. # see "man 7 tcp" for details
  99.  
  100. #tcp_keepalives_idle = 0                # TCP_KEEPIDLE, in seconds;
  101.                                         # 0 selects the system default
  102. #tcp_keepalives_interval = 0            # TCP_KEEPINTVL, in seconds;
  103.                                         # 0 selects the system default
  104. #tcp_keepalives_count = 0               # TCP_KEEPCNT;
  105.                                         # 0 selects the system default
  106.  
  107.  
  108. #------------------------------------------------------------------------------
  109. # RESOURCE USAGE (except WAL)
  110. #------------------------------------------------------------------------------
  111.  
  112. # - Memory -
  113.  
  114. shared_buffers = 3GB                    # min 128kB
  115.                                         # (change requires restart)
  116. huge_pages = try                        # on, off, or try
  117.                                         # (change requires restart)
  118. #temp_buffers = 8MB                     # min 800kB
  119. max_prepared_transactions = 0           # zero disables the feature
  120.                                         # (change requires restart)
  121. # Caution: it is not advisable to set max_prepared_transactions nonzero unless
  122. # you actively intend to use prepared transactions.
  123. work_mem = 32MB
  124. #work_mem = 4MB                         # min 64kB
  125. #maintenance_work_mem = 64MB            # min 1MB
  126. #replacement_sort_tuples = 150000       # limits use of replacement selection sort
  127. #autovacuum_work_mem = -1               # min 1MB, or -1 to use maintenance_work_mem
  128. #max_stack_depth = 2MB                  # min 100kB
  129. dynamic_shared_memory_type = posix      # the default is the first option
  130.                                         # supported by the operating system:
  131.                                         #   posix
  132.                                         #   sysv
  133.                                         #   windows
  134.                                         #   mmap
  135.                                         # use none to disable dynamic shared memory
  136.                                         # (change requires restart)
  137.  
  138. # - Disk -
  139.  
  140. #temp_file_limit = -1                   # limits per-process temp file space
  141.                                         # in kB, or -1 for no limit
  142.  
  143. # - Kernel Resource Usage -
  144.  
  145. #max_files_per_process = 1000           # min 25
  146.                                         # (change requires restart)
  147. #shared_preload_libraries = ''          # (change requires restart)
  148.  
  149. # - Cost-Based Vacuum Delay -
  150.  
  151. #vacuum_cost_delay = 0                  # 0-100 milliseconds
  152. #vacuum_cost_page_hit = 1               # 0-10000 credits
  153. #vacuum_cost_page_miss = 10             # 0-10000 credits
  154. #vacuum_cost_page_dirty = 20            # 0-10000 credits
  155. #vacuum_cost_limit = 200                # 1-10000 credits
  156.  
  157. # - Background Writer -
  158.  
  159. #bgwriter_delay = 200ms                 # 10-10000ms between rounds
  160. #bgwriter_lru_maxpages = 100            # 0-1000 max buffers written/round
  161. #bgwriter_lru_multiplier = 2.0          # 0-10.0 multiplier on buffers scanned/round
  162. #bgwriter_flush_after = 512kB           # measured in pages, 0 disables
  163.  
  164. # - Asynchronous Behavior -
  165.  
  166. #effective_io_concurrency = 1           # 1-1000; 0 disables prefetching
  167. #max_worker_processes = 8               # (change requires restart)
  168. #max_parallel_workers_per_gather = 0    # taken from max_worker_processes
  169. #old_snapshot_threshold = -1            # 1min-60d; -1 disables; 0 is immediate
  170.                                         # (change requires restart)
  171. #backend_flush_after = 0                # measured in pages, 0 disables
  172.  
  173.  
  174. #------------------------------------------------------------------------------
  175. # WRITE AHEAD LOG
  176. #------------------------------------------------------------------------------
  177.  
  178. # - Settings -
  179.  
  180. wal_level = hot_standby                 # minimal, replica, or logical
  181.                                         # (change requires restart)
  182. #fsync = on                             # flush data to disk for crash safety
  183.                                                 # (turning this off can cause
  184.                                                 # unrecoverable data corruption)
  185. #synchronous_commit = on                # synchronization level;
  186.                                         # off, local, remote_write, remote_apply, or on
  187. #wal_sync_method = fsync                # the default is the first option
  188. wal_sync_method = open_datasync
  189.                                         # supported by the operating system:
  190.                                         #   open_datasync
  191.                                         #   fdatasync (default on Linux and FreeBSD)
  192.                                         #   fsync
  193.                                         #   fsync_writethrough
  194.                                         #   open_sync
  195. #full_page_writes = on                  # recover from partial page writes
  196. #wal_compression = off                  # enable compression of full-page writes
  197. #wal_log_hints = off                    # also do full page writes of non-critical updates
  198.                                         # (change requires restart)
  199. #wal_buffers = -1                       # min 32kB, -1 sets based on shared_buffers
  200.                                         # (change requires restart)
  201. #wal_writer_delay = 200ms               # 1-10000 milliseconds
  202. #wal_writer_flush_after = 1MB           # measured in pages, 0 disables
  203.  
  204. #commit_delay = 0                       # range 0-100000, in microseconds
  205. #commit_siblings = 5                    # range 1-1000
  206.  
  207. # - Checkpoints -
  208.  
  209. #checkpoint_timeout = 5min              # range 30s-1d
  210. #max_wal_size = 1GB
  211. max_wal_size = 256MB
  212. #min_wal_size = 80MB
  213. #checkpoint_completion_target = 0.5     # checkpoint target duration, 0.0 - 1.0
  214. #checkpoint_flush_after = 256kB         # measured in pages, 0 disables
  215. #checkpoint_warning = 30s               # 0 disables
  216.  
  217. # - Archiving -
  218.  
  219. archive_mode = on               # enables archiving; off, on, or always
  220.                                 # (change requires restart)
  221. archive_command = 'ssh kurisu2 "test ! -f /media/bulk/backup/pg/wal/%f" && gzip -c %p | ssh kurisu2 "cat > /media/bulk/backup/pg/wal/%f.gz"'          # command to use to archive a logfile segment
  222.                                 # placeholders: %p = path of file to archive
  223.                                 #               %f = file name only
  224.                                 # e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f'
  225. #archive_timeout = 0            # force a logfile segment switch after this
  226.                                 # number of seconds; 0 disables
  227. archive_timeout = 3h
  228.  
  229. #------------------------------------------------------------------------------
  230. # REPLICATION
  231. #------------------------------------------------------------------------------
  232.  
  233. # - Sending Server(s) -
  234.  
  235. # Set these on the master and on any standby that will send replication data.
  236.  
  237. max_wal_senders = 8
  238. #max_wal_senders = 0            # max number of walsender processes
  239.                                 # (change requires restart)
  240. #wal_keep_segments = 0          # in logfile segments, 16MB each; 0 disables
  241. #wal_sender_timeout = 60s       # in milliseconds; 0 disables
  242. #wal_keep_segments = 16 #deprecated in favor of wal_keep_size
  243. wal_keep_size = 256MB
  244. wal_sender_timeout = 120s
  245.  
  246. #max_replication_slots = 0      # max number of replication slots
  247.                                 # (change requires restart)
  248. #track_commit_timestamp = off   # collect timestamp of transaction commit
  249.                                 # (change requires restart)
  250.  
  251. # - Master Server -
  252.  
  253. # These settings are ignored on a standby server.
  254.  
  255. #synchronous_standby_names = '' # standby servers that provide sync rep
  256.                                 # number of sync standbys and comma-separated list of application_name
  257.                                 # from standby(s); '*' = all
  258. #vacuum_defer_cleanup_age = 0   # number of xacts by which cleanup is delayed
  259.  
  260. # - Standby Servers -
  261.  
  262. # These settings are ignored on a master server.
  263.  
  264. #hot_standby = on                       # "on" allows queries during recovery
  265.                                         # (change requires restart)
  266. #max_standby_archive_delay = 30s        # max delay before canceling queries
  267.                                         # when reading WAL from archive;
  268.                                         # -1 allows indefinite delay
  269. #max_standby_streaming_delay = 30s      # max delay before canceling queries
  270.                                         # when reading streaming WAL;
  271.                                         # -1 allows indefinite delay
  272. #wal_receiver_status_interval = 10s     # send replies at least this often
  273.                                         # 0 disables
  274. #hot_standby_feedback = off             # send info from standby to prevent
  275.                                         # query conflicts
  276. #wal_receiver_timeout = 60s             # time that receiver waits for
  277.                                         # communication from master
  278.                                         # in milliseconds; 0 disables
  279. #wal_retrieve_retry_interval = 5s       # time to wait before retrying to
  280.                                         # retrieve WAL after a failed attempt
  281.  
  282.  
  283. #------------------------------------------------------------------------------
  284. # QUERY TUNING
  285. #------------------------------------------------------------------------------
  286.  
  287. # - Planner Method Configuration -
  288.  
  289. #enable_bitmapscan = on
  290. #enable_hashagg = on
  291. #enable_hashjoin = on
  292. #enable_indexscan = on
  293. #enable_indexonlyscan = on
  294. #enable_material = on
  295. #enable_mergejoin = on
  296. #enable_nestloop = on
  297. #enable_seqscan = on
  298. #enable_sort = on
  299. #enable_tidscan = on
  300.  
  301. # - Planner Cost Constants -
  302.  
  303. #seq_page_cost = 1.0                    # measured on an arbitrary scale
  304. #random_page_cost = 4.0                 # same scale as above
  305. #cpu_tuple_cost = 0.01                  # same scale as above
  306. #cpu_index_tuple_cost = 0.005           # same scale as above
  307. #cpu_operator_cost = 0.0025             # same scale as above
  308. #parallel_tuple_cost = 0.1              # same scale as above
  309. #parallel_setup_cost = 1000.0   # same scale as above
  310. #min_parallel_relation_size = 8MB
  311. effective_cache_size = 8GB
  312.  
  313. # - Genetic Query Optimizer -
  314.  
  315. #geqo = on
  316. #geqo_threshold = 12
  317. #geqo_effort = 5                        # range 1-10
  318. #geqo_pool_size = 0                     # selects default based on effort
  319. #geqo_generations = 0                   # selects default based on effort
  320. #geqo_selection_bias = 2.0              # range 1.5-2.0
  321. #geqo_seed = 0.0                        # range 0.0-1.0
  322.  
  323. # - Other Planner Options -
  324.  
  325. #default_statistics_target = 100        # range 1-10000
  326. #constraint_exclusion = partition       # on, off, or partition
  327. #cursor_tuple_fraction = 0.1            # range 0.0-1.0
  328. #from_collapse_limit = 8
  329. #join_collapse_limit = 8                # 1 disables collapsing of explicit
  330.                                         # JOIN clauses
  331. #force_parallel_mode = off
  332.  
  333.  
  334. #------------------------------------------------------------------------------
  335. # ERROR REPORTING AND LOGGING
  336. #------------------------------------------------------------------------------
  337.  
  338. # - Where to Log -
  339.  
  340. log_destination = 'stderr,syslog'
  341. #log_destination = 'stderr'             # Valid values are combinations of
  342.                                         # stderr, csvlog, syslog, and eventlog,
  343.                                         # depending on platform.  csvlog
  344.                                         # requires logging_collector to be on.
  345.  
  346. # This is used when logging to stderr:
  347. #logging_collector = off                # Enable capturing of stderr and csvlog
  348.                                         # into log files. Required to be on for
  349.                                         # csvlogs.
  350.                                         # (change requires restart)
  351.  
  352. # These are only used if logging_collector is on:
  353. #log_directory = 'pg_log'               # directory where log files are written,
  354.                                         # can be absolute or relative to PGDATA
  355. #log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'        # log file name pattern,
  356.                                         # can include strftime() escapes
  357. #log_file_mode = 0600                   # creation mode for log files,
  358.                                         # begin with 0 to use octal notation
  359. #log_truncate_on_rotation = off         # If on, an existing log file with the
  360.                                         # same name as the new log file will be
  361.                                         # truncated rather than appended to.
  362.                                         # But such truncation only occurs on
  363.                                         # time-driven rotation, not on restarts
  364.                                         # or size-driven rotation.  Default is
  365.                                         # off, meaning append to existing files
  366.                                         # in all cases.
  367. #log_rotation_age = 1d                  # Automatic rotation of logfiles will
  368.                                         # happen after that time.  0 disables.
  369. #log_rotation_size = 10MB               # Automatic rotation of logfiles will
  370.                                         # happen after that much log output.
  371.                                         # 0 disables.
  372.  
  373. # These are relevant when logging to syslog:
  374. #syslog_facility = 'LOCAL0'
  375. #syslog_ident = 'postgres'
  376. #syslog_sequence_numbers = on
  377. #syslog_split_messages = on
  378.  
  379. # This is only relevant when logging to eventlog (win32):
  380. # (change requires restart)
  381. #event_source = 'PostgreSQL'
  382.  
  383. # - When to Log -
  384.  
  385. #log_min_messages = warning             # values in order of decreasing detail:
  386.                                         #   debug5
  387.                                         #   debug4
  388.                                         #   debug3
  389.                                         #   debug2
  390.                                         #   debug1
  391.                                         #   info
  392.                                         #   notice
  393.                                         #   warning
  394.                                         #   error
  395.                                         #   log
  396.                                         #   fatal
  397.                                         #   panic
  398.  
  399. #log_min_error_statement = error        # values in order of decreasing detail:
  400.                                         #   debug5
  401.                                         #   debug4
  402.                                         #   debug3
  403.                                         #   debug2
  404.                                         #   debug1
  405.                                         #   info
  406.                                         #   notice
  407.                                         #   warning
  408.                                         #   error
  409.                                         #   log
  410.                                         #   fatal
  411.                                         #   panic (effectively off)
  412.  
  413. #log_min_duration_statement = -1        # -1 is disabled, 0 logs all statements
  414.                                         # and their durations, > 0 logs only
  415.                                         # statements running at least this number
  416.                                         # of milliseconds
  417.  
  418.  
  419. # - What to Log -
  420.  
  421. #debug_print_parse = off
  422. #debug_print_rewritten = off
  423. #debug_print_plan = off
  424. #debug_pretty_print = on
  425. #log_checkpoints = off
  426. #log_connections = off
  427. #log_disconnections = off
  428. #log_duration = off
  429. #log_error_verbosity = default          # terse, default, or verbose messages
  430. log_hostname = on
  431. log_line_prefix = '%m [%p] %q%u@%d '                    # special values:
  432.                                         #   %a = application name
  433.                                         #   %u = user name
  434.                                         #   %d = database name
  435.                                         #   %r = remote host and port
  436.                                         #   %h = remote host
  437.                                         #   %p = process ID
  438.                                         #   %t = timestamp without milliseconds
  439.                                         #   %m = timestamp with milliseconds
  440.                                         #   %n = timestamp with milliseconds (as a Unix epoch)
  441.                                         #   %i = command tag
  442.                                         #   %e = SQL state
  443.                                         #   %c = session ID
  444.                                         #   %l = session line number
  445.                                         #   %s = session start timestamp
  446.                                         #   %v = virtual transaction ID
  447.                                         #   %x = transaction ID (0 if none)
  448.                                         #   %q = stop here in non-session
  449.                                         #        processes
  450.                                         #   %% = '%'
  451.                                         # e.g. '<%u%%%d> '
  452. #log_lock_waits = off                   # log lock waits >= deadlock_timeout
  453. #log_statement = 'none'                 # none, ddl, mod, all
  454. #log_replication_commands = off
  455. #log_temp_files = -1                    # log temporary files equal or larger
  456.                                         # than the specified size in kilobytes;
  457.                                         # -1 disables, 0 logs all temp files
  458. log_timezone = 'Europe/Warsaw'
  459.  
  460.  
  461. # - Process Title -
  462.  
  463. cluster_name = '15/main'                        # added to process titles if nonempty
  464.                                         # (change requires restart)
  465. #update_process_title = on
  466.  
  467.  
  468. #------------------------------------------------------------------------------
  469. # RUNTIME STATISTICS
  470. #------------------------------------------------------------------------------
  471.  
  472. # - Query/Index Statistics Collector -
  473.  
  474. #track_activities = on
  475. #track_counts = on
  476. #track_io_timing = off
  477. #track_functions = none                 # none, pl, all
  478. #track_activity_query_size = 1024       # (change requires restart)
  479. #stats_temp_directory = '/var/run/postgresql/15-main.pg_stat_tmp' #does not exist anymore
  480.  
  481.  
  482. # - Statistics Monitoring -
  483.  
  484. #log_parser_stats = off
  485. #log_planner_stats = off
  486. #log_executor_stats = off
  487. #log_statement_stats = off
  488.  
  489.  
  490. #------------------------------------------------------------------------------
  491. # AUTOVACUUM PARAMETERS
  492. #------------------------------------------------------------------------------
  493.  
  494. #autovacuum = on                        # Enable autovacuum subprocess?  'on'
  495.                                         # requires track_counts to also be on.
  496. #log_autovacuum_min_duration = -1       # -1 disables, 0 logs all actions and
  497.                                         # their durations, > 0 logs only
  498.                                         # actions running at least this number
  499.                                         # of milliseconds.
  500. #autovacuum_max_workers = 3             # max number of autovacuum subprocesses
  501.                                         # (change requires restart)
  502. #autovacuum_naptime = 1min              # time between autovacuum runs
  503. #autovacuum_vacuum_threshold = 50       # min number of row updates before
  504.                                         # vacuum
  505. #autovacuum_analyze_threshold = 50      # min number of row updates before
  506.                                         # analyze
  507. #autovacuum_vacuum_scale_factor = 0.2   # fraction of table size before vacuum
  508. #autovacuum_analyze_scale_factor = 0.1  # fraction of table size before analyze
  509. #autovacuum_freeze_max_age = 200000000  # maximum XID age before forced vacuum
  510.                                         # (change requires restart)
  511. #autovacuum_multixact_freeze_max_age = 400000000        # maximum multixact age
  512.                                         # before forced vacuum
  513.                                         # (change requires restart)
  514. #autovacuum_vacuum_cost_delay = 20ms    # default vacuum cost delay for
  515.                                         # autovacuum, in milliseconds;
  516.                                         # -1 means use vacuum_cost_delay
  517. #autovacuum_vacuum_cost_limit = -1      # default vacuum cost limit for
  518.                                         # autovacuum, -1 means use
  519.                                         # vacuum_cost_limit
  520.  
  521.  
  522. #------------------------------------------------------------------------------
  523. # CLIENT CONNECTION DEFAULTS
  524. #------------------------------------------------------------------------------
  525.  
  526. # - Statement Behavior -
  527.  
  528. #client_min_messages = notice           # values in order of decreasing detail:
  529.                                         #   debug5
  530.                                         #   debug4
  531.                                         #   debug3
  532.                                         #   debug2
  533.                                         #   debug1
  534.                                         #   log
  535.                                         #   notice
  536.                                         #   warning
  537.                                         #   error
  538. #search_path = '"$user", public'        # schema names
  539. #default_tablespace = ''                # a tablespace name, '' uses the default
  540. #temp_tablespaces = ''                  # a list of tablespace names, '' uses
  541.                                         # only default tablespace
  542. #check_function_bodies = on
  543. #default_transaction_isolation = 'read committed'
  544. #default_transaction_read_only = off
  545. #default_transaction_deferrable = off
  546. #session_replication_role = 'origin'
  547. #statement_timeout = 0                  # in milliseconds, 0 is disabled
  548. #lock_timeout = 0                       # in milliseconds, 0 is disabled
  549. #idle_in_transaction_session_timeout = 0                # in milliseconds, 0 is disabled
  550. #vacuum_freeze_min_age = 50000000
  551. #vacuum_freeze_table_age = 150000000
  552. #vacuum_multixact_freeze_min_age = 5000000
  553. #vacuum_multixact_freeze_table_age = 150000000
  554. #bytea_output = 'hex'                   # hex, escape
  555. #xmlbinary = 'base64'
  556. #xmloption = 'content'
  557. #gin_fuzzy_search_limit = 0
  558. #gin_pending_list_limit = 4MB
  559.  
  560. # - Locale and Formatting -
  561.  
  562. datestyle = 'iso, dmy'
  563. #intervalstyle = 'postgres'
  564. timezone = 'Europe/Warsaw'
  565. #timezone_abbreviations = 'Default'     # Select the set of available time zone
  566.                                         # abbreviations.  Currently, there are
  567.                                         #   Default
  568.                                         #   Australia (historical usage)
  569.                                         #   India
  570.                                         # You can create your own file in
  571.                                         # share/timezonesets/.
  572. #extra_float_digits = 0                 # min -15, max 3
  573. #client_encoding = sql_ascii            # actually, defaults to database
  574.                                         # encoding
  575.  
  576. # These settings are initialized by initdb, but they can be changed.
  577. lc_messages = 'en_CA.UTF-8'                     # locale for system error message
  578.                                         # strings
  579. lc_monetary = 'en_CA.UTF-8'                     # locale for monetary formatting
  580. lc_numeric = 'en_CA.UTF-8'                      # locale for number formatting
  581. lc_time = 'en_CA.UTF-8'                         # locale for time formatting
  582.  
  583. # default configuration for text search
  584. default_text_search_config = 'pg_catalog.english'
  585.  
  586. # - Other Defaults -
  587.  
  588. #dynamic_library_path = '$libdir'
  589. #extension_destdir = ''                 # prepend path when loading extensions
  590.                                         # and shared objects (added by Debian)
  591. #local_preload_libraries = ''
  592. #session_preload_libraries = ''
  593.  
  594.  
  595. #------------------------------------------------------------------------------
  596. # LOCK MANAGEMENT
  597. #------------------------------------------------------------------------------
  598.  
  599. #deadlock_timeout = 1s
  600. #max_locks_per_transaction = 64         # min 10
  601.                                         # (change requires restart)
  602. #max_pred_locks_per_transaction = 64    # min 10
  603.                                         # (change requires restart)
  604.  
  605.  
  606. #------------------------------------------------------------------------------
  607. # VERSION/PLATFORM COMPATIBILITY
  608. #------------------------------------------------------------------------------
  609.  
  610. # - Previous PostgreSQL Versions -
  611.  
  612. #array_nulls = on
  613. #backslash_quote = safe_encoding        # on, off, or safe_encoding
  614. #default_with_oids = off
  615. #escape_string_warning = on
  616. #lo_compat_privileges = off
  617. #operator_precedence_warning = off
  618. #quote_all_identifiers = off
  619. #sql_inheritance = on
  620. #standard_conforming_strings = on
  621. #synchronize_seqscans = on
  622.  
  623. # - Other Platforms and Clients -
  624.  
  625. #transform_null_equals = off
  626.  
  627.  
  628. #------------------------------------------------------------------------------
  629. # ERROR HANDLING
  630. #------------------------------------------------------------------------------
  631.  
  632. #exit_on_error = off                    # terminate session on any error?
  633. #restart_after_crash = on               # reinitialize after backend crash?
  634. #data_sync_retry = off                  # retry or panic on failure to fsync
  635.                                         # data?
  636.                                         # (change requires restart)
  637.  
  638.  
  639. #------------------------------------------------------------------------------
  640. # CONFIG FILE INCLUDES
  641. #------------------------------------------------------------------------------
  642.  
  643. # These options allow settings to be loaded from files other than the
  644. # default postgresql.conf.  Note that these are directives, not variable
  645. # assignments, so they can usefully be given more than once.
  646.  
  647. #include_dir = 'conf.d'                 # include files ending in '.conf' from
  648.                                         # a directory, e.g., 'conf.d'
  649. #include_if_exists = '...'              # include file only if it exists
  650. #include = '...'                        # include file
  651.  
  652.  
  653. #------------------------------------------------------------------------------
  654. # CUSTOMIZED OPTIONS
  655. #------------------------------------------------------------------------------
  656.  
  657. # Add settings for extensions here
Add Comment
Please, Sign In to add comment