RepoJournal
Django

@django

Python's batteries-included web framework

Pick a date

The Wire · Showcase

DJANGO FIXES POSTGRESQL POOL OVERRIDE BUG

By RepoJournal · Filed · About Django

Django patched a critical PostgreSQL connection pool bug that was silently breaking custom health-check configurations [ref:2].

The fix resolves ticket #37075, where users setting a custom `check` callable in `OPTIONS["pool"]` hit a TypeError because Django's PostgreSQL backend was hardcoding `check=` and then unpacking user options on top, causing a conflict [1] [2]. The patch now uses `setdefault()` to let user callables take precedence and copies `pool_options` before modification to avoid mutating your settings dict—a subtle but essential safeguard for production deployments. This is the kind of bug that silently breaks connection health checks in ways that only surface under load. A typo fix landed in the 5.2.14 release notes [3]. Build infrastructure continues monitoring across ubuntu-latest [4].

Action items

References

  1. [1] Fixed PostgreSQL pool check callable override
  2. [2] PostgreSQL pool override fix details
  3. [3] 5.2.14 release notes typo fix
  4. [4] Django ASV ubuntu-latest results

FAQ

What changed in Django on May 1, 2026?
Django patched a critical PostgreSQL connection pool bug that was silently breaking custom health-check configurations .
What should Django teams do about it?
Pull the PostgreSQL pool override fix into your next deploy if you're using custom health-check callables • Review your PostgreSQL OPTIONS["pool"] configuration if you've had unexplained connection timeouts

Related across the cluster

For your repos

The showcase is a teaser.
Your wire is the product.

Same engine. Different stack. Below: what changes when the wire is yours.

Showcase wire

  • 14 famous open source orgs
  • One wire per day
  • Public, generic
  • Read on the web, when you remember

Your wire

  • Up to 1,500 of your repos - orgs, deps, vendors
  • Morning and evening briefs
  • Action items routed to your team
  • Slack delivery, email, breaking-news CVE alerts

Want a hands-on demo first? Ask a current user for an invite link.