Re: Re: GIST question
От | Bruce Momjian |
---|---|
Тема | Re: Re: GIST question |
Дата | |
Msg-id | 200105152335.f4FNZ9S13313@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Re: GIST question (Bruce Momjian <pgman@candle.pha.pa.us>) |
Список | pgsql-patches |
> I did look at the code inside the tests. The first was to decide if it > was suppose to look in pg_attribute for the byvalue flag. The last two > controlled the if gistentryinit() was called. No idea what that is > because the variable names are single letters. Gistentryinit() is: > > #define gistentryinit(e, pr, r, pg, o, b, l)\ > do {(e).pred = pr; (e).rel = r; (e).page = pg; (e).offset = o; (e).bytes = b; > (e).leafkey = l;} while (0) > > I have to say I have no idea how pg_index.indhaskeytype is related to > gistentryinit(). I figured out part of it. gistentryinit() is related to compressFn and decompressFn in its calls. It seems they wanted to disable those calls when haskeytype was false. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-patches по дате отправления: