Re: [PATCHES] GIN improvements

Alvaro Herrera <alvherre@commandprompt.com>

From: Alvaro Herrera <alvherre@commandprompt.com>
To: Teodor Sigaev <teodor@sigaev.ru>
Cc: Patches <pgsql-patches@postgresql.org>, Pgsql Hackers <pgsql-hackers@postgresql.org>
Date: 2008-07-07T14:03:40Z
Lists: pgsql-hackers
Teodor Sigaev wrote:
>> I looked this over and it looks good in general.  I was only wondering
>> about for single-column indexes -- we're storing attribute numbers too,
>> right?
> No, GinState->oneCol field signals to GinFormTuple and  
> gin_index_getattr/gintuple_get_attrnum about actual storage.
>
> Single column index is binary compatible with current index :)

Ah, neat!

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support