pgsql: Cache opaque handle for GUC option to avoid repeasted lookups.

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема pgsql: Cache opaque handle for GUC option to avoid repeasted lookups.
Дата
Msg-id E1rBgaW-009FH6-A9@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/867dd2dc8704e58636b8599f61ada3d83c7e6473

Modified Files
--------------
src/backend/utils/fmgr/fmgr.c    | 31 +++++++++++++++++-----
src/backend/utils/misc/guc.c     | 57 +++++++++++++++++++++++++++++++++++-----
src/include/utils/guc.h          |  9 +++++++
src/tools/pgindent/typedefs.list |  1 +
4 files changed, 84 insertions(+), 14 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: pgsql: Optimize nbtree backward scan boundary cases.
Следующее
От: Nathan Bossart
Дата:
Сообщение: pgsql: Micro-optimize JSONTYPE_NUMERIC code path in json.c.