Re: Index AM change proposals, redux

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Index AM change proposals, redux
Дата
Msg-id 12891.1207930265@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Index AM change proposals, redux  (Teodor Sigaev <teodor@sigaev.ru>)
Ответы Re: Index AM change proposals, redux  (Heikki Linnakangas <heikki@enterprisedb.com>)
Re: Index AM change proposals, redux  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-hackers
Teodor Sigaev <teodor@sigaev.ru> writes:
> So, I planned to add pointer to bool to consistent method, so signature will be
> bool consistent( bool check[], StrategyNumber n, Datum query, bool *needRecheck)

> Returning value of needRecheck should be ignored for operation not marked by 
> RECHECK flag in opclass. needRecheck should be initialized to true before call 
> of consistent method to keep compatibility with old opclasses.

Perhaps it would be better to initialize needRecheck to the opclass
RECHECK flag value?  If the consistent function does nothing, the
behavior is the same as before, but it can flip the flag in either
direction if it wants.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: stat() vs cygwin
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Commit fest queue