5 Configuration Parameters
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 name | Description (Context) | Default value |
|---|---|---|
| autovacuum_analyze_score_weight | Specifies the scaling factor of the analyze threshold (sighup) | 1.0 |
| autovacuum_freeze_score_weight | Specifies the scaling factor of the transaction ID age (sighup) | 1.0 |
| autovacuum_max_parallel_workers | Sets the maximum number of autovacuum parallel workers (sighup) | 0 |
| autovacuum_multixact_freeze_score_weight | Specifies the scaling factor of the multixact ID age (sighup) | 1.0 |
| autovacuum_vacuum_insert_score_weight | Specifies the scaling factor of the vacuum insert threshold (sighup) | 1.0 |
| autovacuum_vacuum_score_weight | Specifies the scaling factor of the vacuum threshold (sighup) | 1.0 |
| autovacuum_worker_slots | Specifies the number of backend slots to reserve for autovacuum worker (postmaster) | 16 |
| debug_exec_backend | Reports whether PostgreSQL has been built with EXEC_BACKEND enabled (internal) | off |
| debug_print_raw_parse | Output the parse tree without converting it (user) | off |
| effective_wal_level | Effective WAL output level (internal) | replica |
| enable_eager_aggregate | Enable eager aggregation execution plan (user) | on |
| file_extend_method | File extension methods (sighup) | posix_fallocate |
| hosts_file | SSL/SNI filename (postmaster) | {PGDATA}/pg_hosts.conf |
| io_max_workers | Maximum number of I/O workers (sighup) | 8 |
| io_min_workers | Minimum number of I/O workers (sighup) | 2 |
| io_worker_idle_timeout | Maximum idle time for I/O workers (sighup) | 60000 |
| io_worker_launch_interval | Minimum interval between starting new I/O workers (sighup) | 100ms |
| log_autoanalyze_min_duration | Log output time for automatic ANALYZE execution (sighup) | 10min |
| max_repack_replication_slots | Number of replication slots reserved for executing REPACK (postmaster) | 5 |
| min_eager_agg_group_size | Minimum memory allocation when using eager aggregation (user) | 8 |
| password_expiration_warning_threshold | Period for outputting password expiration warnings (sighup) | 7d |
| ssl_sni | Whether to use SNI for SSL connections (sighup) | off |
| timing_clock_source | Specify the clock source used for timing measurements (superuser) | auto (tsc) |
| wal_sender_shutdown_timeout | Timeout for stopping the WAL sender process (user) | -1 |
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
3.3.2 Changed Parameters
The following parameters have been changed in terms of setting range and choices. [38e0190, 1efdd7c, 8a6af3a, 12da457, bf5da5d]
| Parameter name | Change |
|---|---|
| data_checksums | f the checksum is currently being enabled, the status changes to “inprogress-on”. Data type changed from boolean to enum |
| extension_control_path | If an extension with the same name exists in the specified path, the first path found is output to the pg_available_extensions view |
| io_workers | Split into io_max_workers and io_min_workers |
| log_min_messages | The log output level can now be changed for each process type. |
| sync_replication_slots | To enable this parameter, the wal_level parameter must be set to logical |
| wal_receiver_timeout | The context for configuration changes has been changed from signup to user |
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 setting | Description |
|---|---|
| archiver | WAL archiver process |
| autovacuum | Autovacuum Launcher, Autovacuum Worker process |
| backend | Backend process |
| bgworker | Background worker process |
| bgwriter | Background writer process |
| checkpointer | Checkpointer process |
| ioworker | I/O Worker process |
| postmaster | Postmaster process |
| slotsyncworker | Replication Slot Synchronous Worker process |
| startup | Startup process |
| syslogger | Logger process |
| walreceiver | WAL Receiver process |
| walsender | WAL Senfer process |
| walsummarizer | WAL Summarizer process |
| walwriter | WAL Writer process |
3.3.3 Changed Default Values
The following parameters have changed default values. [2aac62b, 7f8c88c, 79534f9]
| Parameter name | PostgreSQL 18 | PostgreSQL 19 | Note |
|---|---|---|---|
| jit | on | Off | |
| log_lock_waits | off | On | |
| max_locks_per_transactionserver_version | 64 | 128 | |
| 18.4 | 19beta1 | ||
| server_version_num | 180004 | 190000 |
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 name | Reason |
|---|---|
| escape_string_warning | Due to the standard_conforming_strings parameter being fixed, this is no longer necessary. |