pgsql: Optimize check_search_path() by using SearchPathCache.

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема pgsql: Optimize check_search_path() by using SearchPathCache.
Дата
Msg-id E1r5EOn-006R2v-Qo@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Optimize check_search_path() by using SearchPathCache.

A hash lookup is faster than re-validating the string, particularly
because we use SplitIdentifierString() for validation.

Important when search_path changes frequently.

Discussion: https://postgr.es/m/04c8592dbd694e4114a3ed87139a7a04e4363030.camel%40j-davis.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ad57c2a7c58665c14236a999435d37ba59eb7fc4

Modified Files
--------------
src/backend/catalog/namespace.c | 56 +++++++++++++++++++++++++++++++++++++++--
1 file changed, 54 insertions(+), 2 deletions(-)


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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: pgsql: Be more paranoid about OOM in search_path cache.
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: meson: Document build targets, add 'help' target