pgsql: pg_trgm's set_limit() now uses SetConfigOption()

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема pgsql: pg_trgm's set_limit() now uses SetConfigOption()
Дата
Msg-id E1agquW-0005wX-5H@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
pg_trgm's set_limit() now uses SetConfigOption()

Deprecated set_limit() is modified to use SetConfigOption() to set
similarity_threshold which is actually an instance of
pg_trgm.similarity_threshold GUC variable. Previous coding directly sets
similarity_threshold what could cause an inconsistency between states of
actual variable and GUC representation.

Per gripe from Tom Lane

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/aa698d753566f68bdd54881d30b1a515b0327b0e

Modified Files
--------------
contrib/pg_trgm/trgm_op.c | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)


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

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Re: pgsql: Improve memory management for external sorts.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Various minor corrections of and improvements to comments.