Re: Bug #474: Index using problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug #474: Index using problem
Дата
Msg-id 24148.1002319268@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bug #474: Index using problem  (Andreas Wernitznig <andreas@insilico.com>)
Ответы Re: Bug #474: Index using problem
Список pgsql-bugs
Andreas Wernitznig <andreas@insilico.com> writes:
> Why don't you skip the automatic index creation for primary keys

And how then would we enforce uniqueness of the primary key?

> and let the user decide to create an index, that should be used in any
> case, regardless what the query planner recommends ?

What?  AFAIR the planner does not even *know* whether an index is
associated with a primary key.  It certainly does not give such an
index any special preference.

            regards, tom lane

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

Предыдущее
От: Andreas Wernitznig
Дата:
Сообщение: Re: Bug #474: Index using problem
Следующее
От: Andreas Wernitznig
Дата:
Сообщение: Re: Bug #474: Index using problem