Re: Pg uses non-unique index instead of pkey index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Pg uses non-unique index instead of pkey index
Дата
Msg-id 29531.993505278@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Pg uses non-unique index instead of pkey index  ("Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu>)
Список pgsql-general
"Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu> writes:
> Why exactly is experimentsc_expid_i chosen over experimentsc_pkey?

There is no reason to prefer either one over the other.  So you get
a quasi-random choice (whichever one the optimizer happens to consider
first, I think).

            regards, tom lane

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

Предыдущее
От: Jan Ploski
Дата:
Сообщение: RE: PostgreSQL: YMMV?
Следующее
От: Ed Loehr
Дата:
Сообщение: pgsql 7.1.2 server hanging...