Re: Less-silly selectivity for JSONB matching operators

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Less-silly selectivity for JSONB matching operators
Дата
Msg-id 9233.1585671632@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Less-silly selectivity for JSONB matching operators  (Alexey Bashtanov <bashtanov@imap.cc>)
Ответы Re: Less-silly selectivity for JSONB matching operators  (Alexey Bashtanov <bashtanov@imap.cc>)
Список pgsql-hackers
Alexey Bashtanov <bashtanov@imap.cc> writes:
> The only little thing I can think of is hardcoding it as 2 * DEFAULT_EQ_SEL.
> While I don't have any arguments against the value itself I think it 
> should be configurable independently.
> Sadly DEFAULT_MATCH_SEL name is already taken for text patterns.
> Not sure if it's a reason to rename all the stuff.

Yeah, I was going to invent a symbol till I noticed that DEFAULT_MATCH_SEL
was already taken :-(.

There are only about half a dozen uses of that in-core, so maybe we could
get away with renaming that one, but on the whole I'd rather leave it
alone in case some extension is using it.  So that leaves us with needing
to find a better name for this new one.  Any ideas?

            regards, tom lane



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

Предыдущее
От: Alexey Bashtanov
Дата:
Сообщение: Re: Less-silly selectivity for JSONB matching operators
Следующее
От: Alexey Bashtanov
Дата:
Сообщение: Re: Less-silly selectivity for JSONB matching operators