You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
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.
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.
Activity
james-pgcache commentedon Nov 22, 2026
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 LSNin 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.
philip-pgcache commentedon Nov 23, 2026
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.