Transform proconfig for faster execution.
Jeff Davis <jdavis@postgresql.org>
Transform proconfig for faster execution. Store function config settings in lists to avoid the need to parse and allocate for each function execution. Speedup is modest but significant. Additionally, this change also seems cleaner and supports some other performance improvements under discussion. Discussion: https://postgr.es/m/04c8592dbd694e4114a3ed87139a7a04e4363030.camel@j-davis.com Reviewed-by: Nathan Bossart
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/fmgr/fmgr.c | modified | +20 −9 |
| src/backend/utils/misc/guc.c | modified | +38 −7 |
| src/include/utils/guc.h | modified | +2 −0 |
Discussion
- Faster "SET search_path" 28 messages · 2023-07-29 → 2024-07-09