Latest in branch 13
13.23
Released 10 Nov 2025
(6 months ago)
SoftwarePostgreSQL
Branch13
Status
End of life
Initial release13.0
21 Sep 2020
(5 years ago)
Latest release13.23
10 Nov 2025
(6 months ago)
End of life13 Nov 2025
(Ended 5 months ago)
Release noteshttps://www.postgresql.org/docs/13/release.html
Source codehttps://github.com/postgres/postgres/tree/REL_13_23
Documentationhttps://www.postgresql.org/docs/13/
Downloadhttps://www.postgresql.org/download/
PostgreSQL 13 ReleasesView full list

What is New in PostgreSQL 13

PostgreSQL 13 delivers strong improvements in performance, especially for vacuum and indexing, along with better scalability for large tables, enhanced logical replication, and new SQL features that simplify data handling. This release also focuses on making maintenance operations more efficient and improving overall query performance for both transactional and analytical workloads.

Key highlights include B-tree index deduplication, incremental sorting, parallel vacuum, and several monitoring enhancements.

Performance Improvements

PostgreSQL 13 introduces several important performance optimizations:

  • B-tree index deduplication, which stores duplicate keys only once, significantly reducing index size for low-cardinality columns
  • Incremental sorting that processes already-sorted data more efficiently
  • Hash aggregation that can spill to disk when memory limits are reached
  • Parallel vacuum for multiple indexes on the same table
  • Improved autovacuum triggered by inserts to maintain visibility map and spread freezing work

These changes help reduce storage requirements and speed up both queries and maintenance tasks.

Logical Replication Enhancements

Logical replication receives useful upgrades in PostgreSQL 13:

  • Streaming of large in-progress transactions to subscribers
  • Support for two-phase commit in logical replication
  • Row filtering on the publisher side
  • Better control over replication slots with max_slot_wal_keep_size

These improvements make logical replication more reliable and suitable for larger-scale data distribution scenarios.

Security Improvements

Security has been strengthened with the following changes:

  • Default minimum TLS version raised to 1.2 (ssl_min_protocol_version)
  • New channel_binding parameter in libpq to prevent man-in-the-middle attacks
  • More restrictive access to system tables for non-superusers
  • Support for DER-encoded client certificates

SQL and Developer Features

PostgreSQL 13 adds several practical features for developers:

  • New multirange data types for easier range handling
  • FETCH FIRST ... WITH TIES support
  • Improved JSON handling with jsonb_set_lax()
  • New functions: gen_random_uuid(), gcd(), lcm(), and numeric scaling functions
  • Support for OVERRIDING USER VALUE on identity columns

Monitoring and Administration

Area New / Improved Feature
Vacuum & Autovacuum Insert-triggered autovacuum and parallel index vacuum
Monitoring pg_stat_progress_analyze, pg_shmem_allocations, and WAL usage tracking
Logging log_statement_sample_rate and better parameter logging control
Replication New progress views for basebackup and replication slots

Other Notable Changes

Additional improvements include:

  • Support for incremental sorting and better handling of inet sorting
  • Extended statistics improvements for OR/IN conditions
  • New wait events and better backend type visibility in logs
  • Removal of several long-deprecated features and syntaxes

Migration Considerations

When upgrading to PostgreSQL 13, consider the following:

  • Reindex B-tree indexes that benefit from deduplication to realize space savings
  • Review autovacuum settings as insert-triggered vacuum behavior has changed
  • Test logical replication setups with the new streaming and filtering features
  • Update monitoring queries to use new statistics and progress views

PostgreSQL 13 offers excellent performance improvements and modern features while maintaining strong compatibility, making it a solid upgrade for most production environments.

Releases In Branch 13

VersionRelease date
13.2310 Nov 2025
(6 months ago)
13.2211 Aug 2025
(9 months ago)
13.2105 May 2025
(1 year ago)
13.2017 Feb 2025
(1 year ago)
13.1910 Feb 2025
(1 year ago)
13.1818 Nov 2024
(1 year ago)
13.1711 Nov 2024
(1 year ago)
13.1605 Aug 2024
(1 year ago)
13.1506 May 2024
(2 years ago)
13.1405 Feb 2024
(2 years ago)
13.1306 Nov 2023
(2 years ago)
13.1207 Aug 2023
(2 years ago)
13.1108 May 2023
(3 years ago)
13.1006 Feb 2023
(3 years ago)
13.907 Nov 2022
(3 years ago)
13.808 Aug 2022
(3 years ago)
13.709 May 2022
(4 years ago)
13.607 Feb 2022
(4 years ago)
13.508 Nov 2021
(4 years ago)
13.409 Aug 2021
(4 years ago)
13.310 May 2021
(5 years ago)
13.208 Feb 2021
(5 years ago)
13.109 Nov 2020
(5 years ago)
13.021 Sep 2020
(5 years ago)