Re: Indexam interface proposal - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: Indexam interface proposal
Date
Msg-id 45FE9DEE.5090600@sigaev.ru
Whole thread Raw
In response to Re: Indexam interface proposal  (Heikki Linnakangas <heikki@enterprisedb.com>)
List pgsql-hackers
> Interesting. So we'd add a flag to the index tuples in GiST indicating 
> if the tuple is lossily compressed or not. The compress-function would 
> set that flag when it performs lossy compression, and gistgettuple would 
> return it to the caller.

Keys in GiST index may be another type than column on which index was created, 
so gistgettuple can not return tuple in original form - but sometimes 
gistgettuple may be sure that recheck isn't needed.

> That would completely replace the current RECHECK-option we have, right?
Yeah, this is possible.


-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: modifying the tbale function
Next
From: Hannu Krosing
Date:
Subject: Re: CREATE INDEX and HOT (was Question: pg_classattributes and race conditions ?)