Re: Fuzzy substring searching with the pg_trgm extension

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fuzzy substring searching with the pg_trgm extension
Дата
Msg-id 10712.1452556671@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fuzzy substring searching with the pg_trgm extension  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
>> +
<entry><function>show_substring_limit()</function><indexterm><primary>show_substring_limit</primary></indexterm></entry>
>> +
<entry><function>set_substring_limit(real)</function><indexterm><primary>set_substring_limit</primary></indexterm></entry>

> I don't quite understand why aren't we using a custom GUC variable here.

Presumably this is following the existing set_limit() precedent
in pg_trgm.  But I tend to agree that that's a crummy precedent
and we should not extend it.

Let's invent a custom GUC for the regular limit, mark show_limit()
and set_limit as deprecated, and then make just a custom GUC for
this other limit.
        regards, tom lane



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [PROPOSAL] Client Log Output Filtering
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Patch: fix lock contention for HASHHDR.mutex