GIN improvements part 1: additional information - Mailing list pgsql-hackers

From Alexander Korotkov
Subject GIN improvements part 1: additional information
Date
Msg-id CAPpHfduxv-iL7aedwPW0W5fXrWGAKfxijWM63_hZujaCRxnmFQ@mail.gmail.com
Whole thread Raw
Responses Re: GIN improvements part 1: additional information  (Alexander Korotkov <aekorotkov@gmail.com>)
List pgsql-hackers
Hackers,

Revised version of patch for additional information storage in GIN is attached. Changes are mostly bug fixes. 

Resemble GIN interface changes that this patch introduce.
Patch modifies GIN interface as following:
1) Two arguments are added to extractValue
Datum **addInfo, bool **addInfoIsNull
2) Two arguments are added to consistent
Datum addInfo[], bool addInfoIsNull[]
3) New method config is introduced which returns datatype oid of addtional information (analogy with SP-GiST config method).

Additionally there is another patch which demonstrates benefits from additional information storage itself (because it don't accelerate tsearch itselt). It comes in separate thread.

------
With best regards,
Alexander Korotkov.
Attachment

pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Clean switchover
Next
From: Alexander Korotkov
Date:
Subject: Index on regexes