Add plan_cache_mode setting
Peter Eisentraut <peter_e@gmx.net>
Add plan_cache_mode setting This allows overriding the choice of custom or generic plan. Author: Pavel Stehule <pavel.stehule@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/CAFj8pRAGLaiEm8ur5DWEBo7qHRWTk9HxkuUAz00CZZtJj-LkCA%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/config.sgml | modified | +30 −0 |
| src/backend/utils/cache/plancache.c | modified | +8 −0 |
| src/backend/utils/misc/guc.c | modified | +19 −0 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +1 −0 |
| src/include/utils/plancache.h | modified | +11 −0 |
| src/test/regress/expected/plancache.out | modified | +77 −0 |
| src/test/regress/sql/plancache.sql | modified | +33 −0 |
Documentation touched
Discussion
- PoC plpgsql - possibility to force custom or generic plan 76 messages · 2017-01-23 → 2018-07-16