Teodor Sigaev <[EMAIL PROTECTED]> 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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to