Skip to content

5 Configuration Parameters

Added, modified, removed, and default-value changes for configuration parameters.
Beta 1Source pages: PDF 89-93Original PDF on GitHub

PDF page 89

In PostgreSQL 19, the following parameters have been changed.

3.3.1 Added Parameters

The following parameters have been added. The file_extend_method parameter will be backported to PostgreSQL 16 and later. [06473f5, 8e11859, dd3ae37, 67c2097, f94e914, 1d92e0c, 4f43302, d7965d6, a8f45de, 1ff3180, e76d8c7, d1c01b7]

Parameter nameDescription (Context)Default value
autovacuum_analyze_score_weightSpecifies the scaling factor of the analyze threshold (sighup)1.0
autovacuum_freeze_score_weightSpecifies the scaling factor of the transaction ID age (sighup)1.0
autovacuum_max_parallel_workersSets the maximum number of autovacuum parallel workers (sighup)0
autovacuum_multixact_freeze_score_weightSpecifies the scaling factor of the multixact ID age (sighup)1.0
autovacuum_vacuum_insert_score_weightSpecifies the scaling factor of the vacuum insert threshold (sighup)1.0
autovacuum_vacuum_score_weightSpecifies the scaling factor of the vacuum threshold (sighup)1.0
autovacuum_worker_slotsSpecifies the number of backend slots to reserve for autovacuum worker (postmaster)16
debug_exec_backendReports whether PostgreSQL has been built with EXEC_BACKEND enabled (internal)off
debug_print_raw_parseOutput the parse tree without converting it (user)off
effective_wal_levelEffective WAL output level (internal)replica
enable_eager_aggregateEnable eager aggregation execution plan (user)on
file_extend_methodFile extension methods (sighup)posix_fallocate
hosts_fileSSL/SNI filename (postmaster){PGDATA}/pg_hosts.conf
io_max_workersMaximum number of I/O workers (sighup)8
io_min_workersMinimum number of I/O workers (sighup)2
io_worker_idle_timeoutMaximum idle time for I/O workers (sighup)60000
io_worker_launch_intervalMinimum interval between starting new I/O workers (sighup)100ms
log_autoanalyze_min_durationLog output time for automatic ANALYZE execution (sighup)10min
max_repack_replication_slotsNumber of replication slots reserved for executing REPACK (postmaster)5
min_eager_agg_group_sizeMinimum memory allocation when using eager aggregation (user)8
password_expiration_warning_thresholdPeriod for outputting password expiration warnings (sighup)7d
ssl_sniWhether to use SNI for SSL connections (sighup)off
timing_clock_sourceSpecify the clock source used for timing measurements (superuser)auto (tsc)
wal_sender_shutdown_timeoutTimeout for stopping the WAL sender process (user)-1
Table 30 Added Parameters

PDF page 90

Password Expiration Warning

If the password’s expiration date is within the range specified by the password_expiration_warning_threshold parameter (default value: 7 days), a warning will be output during authentication. [1d92e0c]

PDF page 91

Example 107 Password Expiration Warning
$ psql -h dbsvr1 -d postgres -U user1
Password for user user1: <<Password>>
WARNING:  role password will expire soon
DETAIL:  The password for role "user1" will expire in 13 hours.
psql (19beta1)
Type "help" for help.
postgres=>

3.3.2 Changed Parameters

The following parameters have been changed in terms of setting range and choices. [38e0190, 1efdd7c, 8a6af3a, 12da457, bf5da5d]

Parameter nameChange
data_checksumsf the checksum is currently being enabled, the status changes to “inprogress-on”. Data type changed from boolean to enum
extension_control_pathIf an extension with the same name exists in the specified path, the first path found is output to the pg_available_extensions view
io_workersSplit into io_max_workers and io_min_workers
log_min_messagesThe log output level can now be changed for each process type.
sync_replication_slotsTo enable this parameter, the wal_level parameter must be set to logical
wal_receiver_timeoutThe context for configuration changes has been changed from signup to user
Table 31 Changed Parameters
Specifying the log_min_messages parameter

The log_min_messages parameter now supports changing the log output level on a per-process basis. Specify process names and levels separated by colons (:), and separate multiple processes with commas (,). [38e0190]

PDF page 92

Process name settingDescription
archiverWAL archiver process
autovacuumAutovacuum Launcher, Autovacuum Worker process
backendBackend process
bgworkerBackground worker process
bgwriterBackground writer process
checkpointerCheckpointer process
ioworkerI/O Worker process
postmasterPostmaster process
slotsyncworkerReplication Slot Synchronous Worker process
startupStartup process
sysloggerLogger process
walreceiverWAL Receiver process
walsenderWAL Senfer process
walsummarizerWAL Summarizer process
walwriterWAL Writer process
Table 32 String for specifying the process
Example 108 Changing the log_min_messages parameter
postgres=# SET log_min_messages TO 'warning, autovacuum:debug1' ;
SET

3.3.3 Changed Default Values

The following parameters have changed default values. [2aac62b, 7f8c88c, 79534f9]

Parameter namePostgreSQL 18PostgreSQL 19Note
jitonOff
log_lock_waitsoffOn
max_locks_per_transactionserver_version64128
18.419beta1
server_version_num180004190000
Table 33 Parameters whose default values have been changed

PDF page 93

In binaries built using the “configure” command with the –with-lz4 option, the default value for the default_toast_compression parameter is lz4.

3.3.4 Removed Parameters

The following parameters have been removed. [4576208]

Parameter nameReason
escape_string_warningDue to the standard_conforming_strings parameter being fixed, this is no longer necessary.
Table 34 Removed Parameters