git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: c9c0589) | patch
Cache opaque handle for GUC option to avoid repeasted lookups.
Fri, 8 Dec 2023 19:16:01 +0000 (11:16 -0800)
Fri, 8 Dec 2023 19:16:01 +0000 (11:16 -0800)
commit 867dd2dc8704e58636b8599f61ada3d83c7e6473
Cache opaque handle for GUC option to avoid repeasted lookups.

When setting GUCs from proconfig, performance is important, and hash
lookups in the GUC table are significant.

Per suggestion from Robert Haas.

Discussion: https://postgr.es/m/CA+TgmoYpKxhR3HOD9syK2XwcAUVPa0+ba0XPnwWBcYxtKLkyxA@mail.gmail.com
Reviewed-by: John Naylor
src/backend/utils/fmgr/fmgr.c diff | blob | blame | history
src/backend/utils/misc/guc.c diff | blob | blame | history
src/include/utils/guc.h diff | blob | blame | history
src/tools/pgindent/typedefs.list diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /