Re: GIST and TOAST - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: GIST and TOAST
Date
Msg-id 45EC456B.4000604@sigaev.ru
Whole thread Raw
In response to Re: GIST and TOAST  (Andrew - Supernews <andrew+nonews@supernews.com>)
Responses Re: GIST and TOAST  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
> A closer reading, however, shows that at least for cases like intarray,
> btree_gist, etc., the detoasting of an index value is being done in the
> gist decompress function, so the value seen via GISTENTRY in the other
> functions should already have been detoasted once.

Right, any stored value form index should be decompressed by GiST decompress 
support method.

Another places:
- compress might get original value in case of inserting new one, in all other 
cases it gets value produced by decompress method.
- query in consistent method

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


pgsql-hackers by date:

Previous
From: "Pavel Stehule"
Date:
Subject: proposal: custom variables management
Next
From: "Simon Riggs"
Date:
Subject: Re: Latest plans for Utilities with HOT