Support / Howto set "plan_cache_mode" planner option in PG12
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 14.3k
- Forks
- 1.1k
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 11
Description
How can I set the new "plan_cache_mode" planner option on connect to a PG12 server, from PGX.
I'm using Connection pools, if that makes a difference.
see: https://postgresqlco.nf/doc/en/param/plan_cache_mode/
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the issue's PostgreSQL 12 plan_cache_mode reference and the pgx connection-pool context. Determine whether the option can be configured when connecting to a PG12 server, then document how it should be set for pooled connections. Done means the how-to question is answered clearly for pgx users.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, postgresql
- Domain
- database
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100