5 Configuration Parameters
PDF page 52
In PostgreSQL 15 the following parameters have been changed.
3.3.1 Added parameters
The following parameters have been added.
| Parameter name | Description (context) | Default value |
|---|---|---|
| allow_in_place_tablespaces | Developer parameters to create a tablespace in the pg_tblspc directory (superuser) | off |
| archive_library | WAL archive library name (sighup) | - |
| log_startup_progress_interval | Time before startup process outputs log if the long-running process occurs (sighup) | 10s |
| recovery_prefetch | Whether WAL prefetching is performed during recovery (sighup) | try |
| recursive_worktable_factor | Multiplier to determine work table size for recursive queries (user) | 10 |
| shared_memory_size | The calculated size of main shared memory (internal) | - |
| shared_memory_size_in_huge_pages | Number of Huge Pages pages used for shared memory (internal) | - |
| stats_fetch_consistency | Determines the behavior when cumulative statistics are accessed multiple times (user) | cache |
| wal_decode_buffer_size | Buffer size for WAL decoding (postmaster) | 512kB |
allow_in_place_tablespaces
Tablespaces can be created in a database cluster by setting this parameter to on and specifying an empty string (’’) in the LOCATION clause of the CREATE TABLESPACE statement.
PDF page 53
3.3.2 Modified Parameters
The following parameters have been changed in terms of setting range and choices.
| Parameter name | Changes |
|---|---|
| compute_query_id | Regress can now be specified as a configuration value. This is used to facilitate regression testing. |
| dynamic_shared_memory_type The default value on Solaris has changed to “sysv”. | dynamic_shared_memory_type The default value on Solaris has changed to “sysv”. |
| log_destination | Jsonlog can now be specified as a configuration value to output logs in JSON format. This change will also be backported to PostgreSQL 14.3 and later. |
| wal_compression | Pglz, lz4, and zstd compression methods can now be specified. The configuration value on is assumed to be pglz. |
| shared_preload_libraries | Now also processed in single user mode. |
JSON format log file
If jsonlog is specified for the parameter log_destination, the log file will be output in JSON format. The file extension is .json. A file with a .log extension is also created that outputs only some information.
PDF page 54
3.3.3 Parameters with default values changed
The following parameters have changed default values.
| Parametername | PostgreSQL14 | PostgreSQL15 | Note |
|---|---|---|---|
| hash_mem_multiplier | 1.0 | 2.0 | |
| log_autovacuum_min_durationlog_checkpoints | -1 | 10min | |
| off | on | ||
| server_version | 14.5 | 15.0 | |
| server_version_num | 140005 | 150000 |
3.3.4 Removed parameter
The following parameter have been removed.
PDF page 55
| Parameter name | Reason |
|---|---|
| stats_temp_directory | It was removed due to the shared memory of statistics. |
3.3.5 Error when changing parameters
Some extension modules (auto_explain, pg_prewarm, pg_stat_statements, plperl, plpgsql) now generate errors when attempting to set parameters that do not exist after loading the module.