Skip to content

Feature Request: Support for PostgreSQL 19 #8

Open

Description

@drag0n-app

Summary

According to the PgCache Compatibility documentation, PgCache currently supports PostgreSQL 16, 17, and 18 (with PostgreSQL 18 as the primary target).

Since PostgreSQL 19 has been officially released, would it be possible to add support for it?

Use Case & Context

We are currently upgrading/evaluating PostgreSQL 19 and would love to deploy PgCache in front of it as a caching proxy.

Questions

  • Can the current version of PgCache be used directly with PostgreSQL 19 right now? (e.g., does it pass startup version checks and work out of the box without issues?)
  • Are there any breaking changes in PostgreSQL 19's logical replication protocol (currently requiring protocol version 4+) or system catalogs/event triggers that prevent PgCache from connecting to a PG 19 origin?
  • Is official PG 19 support already on the roadmap ?

Activity

  1. james-pgcache commented on Nov 22, 2026

    @james-pgcache

    I have not tested PgCache with PG 19 yet (wanted to get 0.9.3 shipped first)

    Official support is on the roadmap, I'm planning to add support for WAIT FOR LSN in a way that makes sense for the cache.

    There's nothing that will stop PgCache from starting against PG 19, and it should work in general. Anything new in PG 19 syntax that isn't recognized should cause those statements to be forwarded.
    One thing that may cause an issue is that PgCache checks that the wal_level is logical, which I believe PG 19 can now change automatically.

    In any case, I'll share more info once I have a chance to play with it.

  2. philip-pgcache commented on Nov 23, 2026

    @philip-pgcache
    Contributor

    Thanks for putting PgCache through its paces. James will share what he finds once he's had a chance to run it against 19.

    If it would help to talk through your setup, or there's anything you'd rather not post here, I'm at philip@pgcache.com. Happy to get on a call too if that's easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions