Upgrade from: to: matching:

Jump to:

Upgrading from 9.6 to 13.1 gives you 4.1 years worth of fixes (1686 of them)

Security fixes:

Configuration changes:

Removed config parameters:

Config parameter: Default value:
default_with_oids off
min_parallel_relation_size 1024
replacement_sort_tuples 150000
sql_inheritance on
wal_keep_segments 0

Added config parameters:

Config parameter: Default value:
archive_cleanup_command
autovacuum_vacuum_insert_scale_factor 0.2
autovacuum_vacuum_insert_threshold 1000
backtrace_functions
data_directory_mode 0700
data_sync_retry off
default_table_access_method heap
enable_gathermerge on
enable_incremental_sort on
enable_parallel_append on
enable_parallel_hash on
enable_partition_pruning on
enable_partitionwise_aggregate off
enable_partitionwise_join off
hash_mem_multiplier 1
ignore_invalid_pages off
jit on
jit_above_cost 100000
jit_debugging_support off
jit_dump_bitcode off
jit_expressions on
jit_inline_above_cost 500000
jit_optimize_above_cost 500000
jit_profiling_support off
jit_provider llvmjit
jit_tuple_deforming on
log_min_duration_sample -1
log_parameter_max_length -1
log_parameter_max_length_on_error 0
log_statement_sample_rate 1
log_transaction_sample_rate 0
logical_decoding_work_mem 65536
maintenance_io_concurrency 10
max_logical_replication_workers 4
max_parallel_maintenance_workers 2
max_parallel_workers 8
max_pred_locks_per_page 2
max_pred_locks_per_relation -2
max_slot_wal_keep_size -1
max_sync_workers_per_subscription 2
min_parallel_index_scan_size 64
min_parallel_table_scan_size 1024
parallel_leader_participation on
plan_cache_mode auto
primary_conninfo
primary_slot_name
promote_trigger_file
recovery_end_command
recovery_min_apply_delay 0
recovery_target
recovery_target_action pause
recovery_target_inclusive on
recovery_target_lsn
recovery_target_name
recovery_target_time
recovery_target_timeline latest
recovery_target_xid
restore_command
shared_memory_type mmap
ssl_dh_params_file
ssl_library
ssl_max_protocol_version
ssl_min_protocol_version TLSv1.2
ssl_passphrase_command
ssl_passphrase_command_supports_reload off
tcp_user_timeout 0
vacuum_cleanup_index_scale_factor 0.1
wal_consistency_checking
wal_init_zero on
wal_keep_size 0
wal_receiver_create_temp_slot off
wal_recycle on
wal_skip_threshold 2048

Config parameters with changed default value:

Config parameter: Default value in Pg 9.6: Default value in Pg 13.1:
autovacuum_vacuum_cost_delay 20 2
extra_float_digits 0 1
hot_standby off on
log_directory pg_log log
log_line_prefix %m [%p]
max_parallel_workers_per_gather 0 2
max_replication_slots 0 10
max_wal_senders 0 10
max_wal_size 64 1024
min_wal_size 5 80
password_encryption on md5
wal_level minimal replica
wal_segment_size 2048 16777216

List of changes: