Re: CLUSTER patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CLUSTER patch
Дата
Msg-id 19267.1026666182@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CLUSTER patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: CLUSTER patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> +     CommandCounterIncrement();
> +
> +     // bjm
> + //    RelationIdInvalidateRelationCacheByRelationId(r1);
> + //    RelationIdInvalidateRelationCacheByRelationId(r2);
> +
> +     RelationClearRelation(RelationIdGetRelation(r1), true);
> + //       RelationClearRelation(RelationIdGetRelation(r2), true);
> +
> +     CommandCounterIncrement();

Surely the above is neither necessary nor appropriate.  The relcache
should automatically rebuild its entries for these relations at
CommandCounterIncrement.  In any case I do not care for exporting
internal relcache routines to make CLUSTER work ...

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: CLUSTER patch
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: CLUSTER patch