src/server/plugins/postgresql/test/pg/postgresql.conf

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

mercurial