Re: [PATCHES] GIN improvements

Teodor Sigaev <teodor@sigaev.ru>

From: Teodor Sigaev <teodor@sigaev.ru>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Patches <pgsql-patches@postgresql.org>, Pgsql Hackers <pgsql-hackers@postgresql.org>
Date: 2008-07-07T13:58:17Z
Lists: pgsql-hackers
> 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 :)

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