Version guide

PostgreSQL 16 vs 17 vs 18 on Windows — version comparison

Which PostgreSQL version should you install on Windows? Compare features, support timelines and end-of-life dates for PostgreSQL 16, 17 and 18.

For new installations, always use the latest stable release. For existing deployments, stay on your current major version and apply minor updates promptly.

Which version should I install?

If you are starting fresh on Windows today, install PostgreSQL 18. It is the latest stable release with the longest support horizon (until November 2029) and the newest features. PostgreSQL 16 and 17 are still fully supported but will reach end-of-life sooner.

New installation → PostgreSQL 18. Existing deployment on 16/17 → stay on your version, plan upgrade within the next 1-2 years.

PostgreSQL 16 vs 17 vs 18 on Windows

Feature / aspectPG 16PG 17PG 18
Release dateSept 2023Oct 2024May 2026
End of lifeNov 2028Nov 2029Nov 2030
StatusSupportedSupportedLatest
Logical replicationImprovedEnhancedFull bidirectional
JSON supportGoodBetterExcellent
Parallel queryGoodImprovedFurther improved
Vacuum improvementsStandardEnhancedSignificant
Windows installerEDB 16.xEDB 17.xEDB 18.x
pgAdmin bundled4.x4.x4.x

What is new in PostgreSQL 18?

  • Asynchronous I/O — significantly improved I/O throughput, especially on Windows with its different I/O model
  • Virtual generated columns — computed columns that do not require storage
  • OAuth authentication — native OAuth 2.0 support for client authentication
  • Improved JSON — more JSON functions and better performance
  • pg_basebackup improvements — faster and more reliable physical backups
  • Vacuum optimisations — reduced table bloat and faster autovacuum

What is new in PostgreSQL 17?

  • MERGE improvements — RETURNING clause support and WHEN NOT MATCHED BY SOURCE
  • Incremental backup — pg_basebackup now supports incremental backups
  • Faster vacuum — up to 20x faster on tables with many dead tuples
  • JSON_TABLE — SQL/JSON table function for converting JSON to rows
  • COPY improvements — COPY FROM now supports ON_ERROR IGNORE

Support timeline for Windows

VersionReleasedEnd of LifeAction needed
18May 2026Nov 2030Recommended for new installs
17Oct 2024Nov 2029Continue using, plan upgrade to 18 by 2029
16Sept 2023Nov 2028Continue using, plan upgrade
15Oct 2022Nov 2027Plan upgrade soon
14Sept 2021Nov 2026Upgrade urgently — EOL this year
13 and olderAlready EOLUpgrade immediately

Version questions

Can I run PostgreSQL 16 and 18 on the same Windows machine?
Yes. Each major version installs to its own directory and uses a different port by default (the installer assigns 5432 to the first install, then 5433 for the second, etc.). Both services can run simultaneously.
Is upgrading from 16 to 18 safe?
Yes, with preparation. Back up all databases first with pg_dumpall. Then either use the dump/restore method or pg_upgrade. Never skip the backup step. See Upgrade guide.
Do minor versions (16.1, 16.2, etc.) require data migration?
No. Minor version upgrades (e.g. 17.3 to 17.4) are safe to apply by simply running the new installer over the existing one. The data directory and format do not change between minor versions.

Ready to upgrade?

Safe step-by-step upgrade guide for PostgreSQL on Windows.

Upgrade guide