Re: GIN: Implementing triConsistent and strategy number

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: GIN: Implementing triConsistent and strategy number
Дата
Msg-id 558D5E16.2060109@iki.fi
обсуждение исходный текст
Ответ на GIN: Implementing triConsistent and strategy number  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: GIN: Implementing triConsistent and strategy number
Список pgsql-hackers
On 06/24/2015 11:11 PM, Jeff Janes wrote:
> Is there a way to implement triConsistent for only some of the strategy
> numbers?

No.

> It looks like I would have to internally re-implement something like
> shimTriConsistentFn for each strategy number for which I don't want to
> implement the ternary system in full.  Am I missing a trick?

Hmm. It didn't occur to me that you might want to implement 
tri-consistent for some strategy numbers and fall back to the 
shim-implementation for others. Do you have a real-world example of 
where that'd be useful?

- Heikki



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Should we back-patch SSL renegotiation fixes?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Nitpicking: unnecessary NULL-pointer check in pg_upgrade's controldata.c