diff options
author | Jeff Davis <jdavis@postgresql.org> | 2023-12-08 11:16:01 -0800 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2023-12-08 11:16:01 -0800 |
commit | 867dd2dc8704e58636b8599f61ada3d83c7e6473 (patch) | |
tree | db81dcac5eef5d9d54dc2c5739808f50beb59907 /src/backend/utils/adt/json.c | |
parent | c9c0589fda0edc46b8f5e7362b04636c0c4f0723 (diff) | |
download | postgresql-867dd2dc8704e58636b8599f61ada3d83c7e6473.tar.gz postgresql-867dd2dc8704e58636b8599f61ada3d83c7e6473.zip |
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
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions