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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5765cfe18c595b5d8a7df3a62d253f60a00718ce
Modified Files
--------------
src/backend/utils/fmgr/fmgr.c | 29 +++++++++++++++++++---------
src/backend/utils/misc/guc.c | 45 ++++++++++++++++++++++++++++++++++++-------
src/include/utils/guc.h | 2 ++
3 files changed, 60 insertions(+), 16 deletions(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.