diff options
| author | Jeff Davis | 2023-12-08 19:16:01 +0000 |
|---|---|---|
| committer | Jeff Davis | 2023-12-08 19:16:01 +0000 |
| commit | 867dd2dc8704e58636b8599f61ada3d83c7e6473 (patch) | |
| tree | db81dcac5eef5d9d54dc2c5739808f50beb59907 /src/tools | |
| parent | c9c0589fda0edc46b8f5e7362b04636c0c4f0723 (diff) | |
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/tools')
| -rw-r--r-- | src/tools/pgindent/typedefs.list | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list index 1053f676c38..ba41149b881 100644 --- a/src/tools/pgindent/typedefs.list +++ b/src/tools/pgindent/typedefs.list @@ -3247,6 +3247,7 @@ collation_cache_entry color colormaprange compare_context +config_handle config_var_value contain_aggs_of_level_context contain_placeholder_references_context |
