PostgreSQL 13’s Sunset: Why Database Pros Must Upgrade Before the Lights Go Out

November 7, 2025

As the deadline of November 13, 2025, approaches, organizations utilizing PostgreSQL 13 are confronted with a significant challenge. This version of the widely respected open-source database is nearing its end-of-life (EOL), which signifies the cessation of security patches, bug fixes, and official support from the PostgreSQL Global Development Group. For those managing critical systems, this transition is not merely a routine update; it poses a substantial risk to data security.

The Risks of Sticking with Legacy Versions

Operating an unsupported database version can expose systems to unaddressed vulnerabilities. In a landscape increasingly fraught with cyber threats, the consequences could include data breaches or significant downtime. A recent article on Medium by Pankaj Aswal underscores the urgency, stating, “The Clock is Ticking for Your Database Security.” Without timely updates, users of PostgreSQL 13 may encounter compliance challenges and performance issues.

Historical instances further illustrate the potential dangers. When PostgreSQL 12 reached EOL in November 2024, organizations that postponed upgrades experienced compatibility challenges with newer applications. Similar situations arose for users of PostgreSQL 10 and 11, resulting in forced migrations under pressure.

Security Implications in a Post-EOL World

The PostgreSQL project adheres to a versioning policy that provides five years of support for major versions, complemented by minor releases every three months for bug fixes and security updates. The final minor release for version 13, 13.21, was issued in May 2025, as confirmed by the PostgreSQL Global Development Group. Experts from the Lansweeper Community caution that once EOL is reached, “no more updates, security patches, or fixes will be released,” leaving databases vulnerable to exploits that could have been prevented. This is particularly concerning in sectors like finance and healthcare, where data integrity is critical.

Performance Gains in Newer PostgreSQL Releases

Upgrading transcends mere risk avoidance; it presents an opportunity for enhanced performance. PostgreSQL 18, launched in September 2025, features capabilities such as threefold faster queries and improved asynchronous I/O, as reported by Nihar Daily. Insights shared by database engineers on X reveal tangible benefits, including a reduction in sequential scan times from 40 seconds to just 12 seconds without the need for tuning.

Percona advocates for targeting PostgreSQL versions 16 or 17 for their stability, highlighting advancements in vacuuming, JSON handling, and parallel processing. Jobin Augustine, a principal support engineer at Percona, emphasizes, “The best time to start your PostgreSQL upgrade plan is today!” He suggests strategies such as logical replication to minimize downtime during the transition.

Step-by-Step Upgrade Strategies

A successful upgrade process begins with a thorough assessment. Tools like pg_upgrade facilitate in-place upgrades, but for larger datasets, Percona recommends employing pg_dump/pg_restore or logical replication tools like pglogical. Datavail’s blog on upgrading from PostgreSQL 12 to newer versions outlines applicable strategies, stressing the importance of testing in staging environments.

For cloud users, additional options are available. Google Cloud’s extended support for EOL PostgreSQL versions, announced in June 2024, offers a temporary solution, though it is not a sustainable long-term fix. Amazon RDS users should be aware that support for Aurora PostgreSQL 12 concluded in February 2025, indicating a trend that will soon affect version 13.

Case Studies from the Field

Real-world migration experiences provide valuable insights. Figma successfully scaled their PostgreSQL infrastructure to achieve infinite scalability through sharding in 2020, as detailed by Dr. Milan Milanović on X, transitioning from a single RDS instance to a distributed architecture. Similarly, Stack Overflow reported significant index size reductions after upgrading to PostgreSQL 13 in 2021, according to Jeff Atwood’s posts. However, even they now face the necessity of moving forward.

Recent discussions on X, involving contributions from Percona and Planet PostgreSQL, emphasize the importance of proactive planning. One engineer shared challenges faced when system updates disrupted PostgreSQL functionality without utilizing pg_upgrade, highlighting the need for meticulous package management during upgrades.

Overcoming Common Upgrade Hurdles

Compatibility issues remain a primary concern. The deprecation of certain functions in PostgreSQL 13 necessitates a review of application code. The official PostgreSQL documentation for release 13.20, dated August 14, 2025, outlines the final changes and recommends migrating to 13.20 prior to advancing to newer versions.

Minimizing downtime is crucial for enterprises. Blue-green deployments, as described in an X post by Prasad Ostwal, enable seamless upgrades without interruptions. Tools like PostgREST’s version 14, released in November 2025, enhance performance in complex schemas, drastically reducing cache build times from minutes to mere milliseconds.

Future-Proofing Your Database Infrastructure

Looking ahead, the releases of PostgreSQL 17.5 and 16.9 in May 2025 addressed critical issues, as reported on the PostgreSQL news site. An out-of-cycle release in February 2025 tackled regressions, demonstrating the project’s commitment to maintaining stability in supported versions.

Industry professionals should consider managed services. Percona’s support extends beyond community EOL, offering patches for older versions. Augustine succinctly states, “Upgrading to a supported version ensures you continue to receive these vital updates, keeping your databases secure and performant.”

Economic and Operational Considerations

The costs associated with inaction can be substantial. Downtime resulting from security breaches or urgent upgrades often surpasses the expenses of migration. A recent post from the Lansweeper Community urges organizations to scan their environments for instances of version 13, as unrecognized legacy systems heighten risks.

Training teams on new features is imperative. PostgreSQL 18 introduces time travel queries through temporal extensions, as explained in Qian Li’s post on X, facilitating advanced debugging—capabilities unavailable in EOL versions.

Industry Sentiment and Best Practices

Sentiment on X reflects a growing urgency, with posts from Hussein Nasser cautioning against partitioning pitfalls in version 13 that newer releases effectively address. Peter Zaitsev has highlighted useful features like FORCE DROP DATABASE in 13, while emphasizing the importance of transitioning to versions with ongoing enhancements.

To achieve success, adopting a phased approach is advisable: audit, plan, test, execute, and monitor. Resources from Percona, PostgreSQL.org, and Medium offer comprehensive blueprints, ensuring that your database remains a resilient foundation well into 2025 and beyond.

Tech Optimizer
PostgreSQL 13’s Sunset: Why Database Pros Must Upgrade Before the Lights Go Out