Re: five-key syscaches

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: five-key syscaches
Дата
Msg-id 603c8f071003290639gc7a041fr44c5d269e246fafc@mail.gmail.com
обсуждение исходный текст
Ответ на Re: five-key syscaches  (Joachim Wieland <joe@mcknight.de>)
Ответы Re: five-key syscaches  (Yeb Havinga <yebhavinga@gmail.com>)
Список pgsql-hackers
On Mon, Mar 29, 2010 at 4:21 AM, Joachim Wieland <joe@mcknight.de> wrote:
> On Mon, Mar 29, 2010 at 12:32 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>> Per previous discussion, PFA a patch to change the maximum number of
>> keys for a syscache from 4 to 5.
>>
>> http://archives.postgresql.org/pgsql-hackers/2010-02/msg01105.php
>>
>> This is intended for application to 9.1, and is supporting
>> infrastructure for knngist.
>
> It looks like there should be a 5 rather than a 4 for nkeys of
> SearchSysCacheList().
>
> +#define SearchSysCacheList5(cacheId, key1, key2, key3, key4, key5) \
> +       SearchSysCacheList(cacheId, 4, key1, key2, key3, key4, key5)

Good catch.  Will fix.

...Robert


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: enable_joinremoval
Следующее
От: Tom Lane
Дата:
Сообщение: Re: enable_joinremoval