On 12/27/2013 08:22 AM, Amit Langote wrote:

Can a posting item / ItemPointer belonging to posting list/tree of
some entry "stored" in a GIN index be "lossy"? If yes, under what
circumstances would such a lossy ItemPointer be included for the

I got an impression that there may be some lossy ItemPointers stored
in a GIN index while reading keyGetItem() code in

No, they cannot be lossy. The reason keyGetItem() need to handle lossy pointers is because partial matching collects all TIDs from the posting trees matched by a key into a tidbitmap. This tidbitmap becomes lossy if the matching TIDs do not fit into the workmem.

Andreas Karlsson

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

Reply via email to