Skip to content

5 Configuration Parameters

Added, modified, removed, and default-value changes for configuration parameters.
GASource pages: PDF 70-74Original PDF on GitHub

PDF page 70

In PostgreSQL 18, the following parameters have been changed.

3.3.1 Added parameters

The following parameters have been added. [0dcaea5, db6a4a9, c758119, a8ccf4e, 306dc52, 052026c, bb8dff9, 45188c2, 3d1ef3a, fc069a3, ac0e331, b3f0be7, 6c349d8, 6d376c3, 0284401, 4f7f7b0, 10f6646, 0164a0f, 247ce06, 55b454d, 62d712e, 9fbd53d, f78ca6f, 73bdcfa, 05dedf4]

Parameter nameDescription (context)Default value
autovacuum_worker_slotsMaximum number of autovacuum max workers settings__ (postmaster)16
autovacuum_vacuum_max_thresholdMaximum number of tuples required to trigger VACUUM on a table (sighup)100000000
enable_distinct_reorderingWhether to use column reordering optimization specified in the DISTINCT clause (user)on
enable_self_join_eliminationEnable self-join optimization feature (user)on
extension_control_pathExtended control file path (superuser)$system
file_copy_methodSpecify how files are copied (user)copy
idle_replication_slot_timeoutNumber of idle seconds to disable replication slots (sighup)0
io_max_combine_limitMaximum value for io_combine_limit (postmaster)16
io_max_concurrencyMaximum number of simultaneous I/Os a single process can perform (postmaster)64
io_methodAsynchronous I/O execution method (postmaster)worker
io_workersNumber of IO worker processes (sighup)3
log_lock_failures(sighup) Log output when lock fails (superuser)off
max_active_replication_originsMaximum number of replication origins10
Maximum number of replication origins10
md5_password_warningsOutput warning when generating MD5 passwords (user)on
num_os_semaphoresNumber of semaphores required to run the server (internal)計算値
oauth_validator_librariesLibrary used to validate OAuth connection tokens (sighup)''
ssl_groupsCurve name used for EDCH key exchangeX25519:prime2
(sighup)56v1
ssl_tls13_ciphersList of cipher suites that can be used for connections with TLS version 1.3 (sighup)''
track_cost_delay_timingCost-based VACUUM delay tracking (superuser)off
vacuum_max_eager_freeze_failure_ratePercentage of pages where VACUUM disables EAGER scans (user)0.03
vacuum_truncateEnables vacuum to truncate empty pages at the end of the table (user)on
Table 20 Added parameters

PDF page 71

Maximum number of autovacuum worker processes

The autovacuum_max_workers parameter can now be changed dynamically by executing the pg_reload_conf function. The parameter autovacuum_worker_slots (default 16) has been added to indicate the upper limit for dynamic changes. autovacuum_max_workers parameter setting can be larger than autovacuum_worker_slots, but the autovacuum_max_workers parameter setting will not be changed. but it will not launch more worker processes than autovacuum_worker_slots. [c758119, 6d01541]

Example 99 Automatic VACUUM worker limit
postgres=# SELECT name, setting, context FROM pg_settings WHERE name
LIKE 'autovacuum%worker%' ;
          name           | setting |  context
-------------------------+---------+------------
 autovacuum_max_workers  | 3       | sighup
 autovacuum_worker_slots | 16      | postmaster
(2 rows)

PDF page 72

3.3.2 Modified Parameters

The following parameters have been changed in terms of setting range and choices. [d0c2860, e48b19c, 7c3fb50, c758119, d4c3a6b, 9219093, 3516ea7]

Parameter nameChange
autovacuum_max_workersChanged to dynamically updatable (context=sighup)
log_rotation_sizeUpper limit changed to 2,147,483,647
log_connectionsChanged to string type from boolean type
log_line_prefixEscape %L indicating local IP address can be used
max_files_per_processExclude the number of files inherited by the backend
ssl_groupsChanged name from ssl_ecdh_curve
Table 21 Modified Parameters
Parameter log_connections is changed

The parameter log_connections has been changed from a boolean type to a text type, allowing multiple settings of log output to be comma-separated. [9219093, 18cd15e]

Setting valueOutput contents
''No logging (default value)
receiptLog when a connection is received
authenticationLog the ID that identifies the user
authorizationLog the completion of authentication
setup_durationsLog the time between when the connection is made and when the first query is ready to be executed
allSame as receipt,authentication,authorization,setup_durations
Table 22 Setting value of parameter log_connections

PDF page 73

Example 100 Log output by setting log_connections parameter
# receipt log
LOG:  connection received: host=192.168.1.123 port=37374
# authentication log (Success)
LOG:
connection
authenticated:
identity="demo"
method=scram-sha-256
(/data/pg_hba.conf:119)
# authentication log (Failure)
FATAL:  password authentication failed for user "demo"
DETAIL:  Connection matched file "/data/pg_hba.conf" line 119: "host    all
all             192.168.1.0/24           scram-sha-256"
# authorization log (Success)
LOG:  connection authorized: user=demo database=postgres application_name=psql
# authorization log (Failure)
FATAL:  password authentication failed for user "demo"
DETAIL:  Connection matched file "/data/pg_hba.conf" line 119: "host    all
all             192.168.1.0/24           scram-sha-256"
# setup_durations log (Success)
LOG:
connection
ready:
setup
total=9.915
ms,
fork=0.248
ms,
authentication=6.329 ms
# setup_durations log (Failure)
FATAL:  password authentication failed for user "demo"
DETAIL:  Connection matched file " /data/pg_hba.conf" line 119: "host    all
all             192.168.1.0/24           scram-sha-256"
The previous settings of true/false, on/off, and 0/1 can also be set for compatibility purposes. true,0,on
settings are the same as “receipt,authentication,authorization”.

3.3.3 Parameters with default values changed

The following parameters have changed default values. [98f320e, 9219093, ff79b5b, cc6be07, daa02c6]

PDF page 74

Parameter namePostgreSQL 17PostgreSQL 18Note
server_version17.518.0
server_version_numdata_checksums170005180000
offon
log_connectionsoff''
effective_io_concurrency116
maintenance_io_concurrencyssl_groups1016
prime256v1X25519:prime256v1 ParameterX25519:prime256v1 Parameter name change
Table 23 Parameters with default values changed