Re: Indexes not used for "min()"

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Indexes not used for "min()"
Дата
Msg-id 20030804205815.GA14136@wolff.to
обсуждение исходный текст
Ответ на Indexes not used for "min()"  ("Valsecchi, Patrick" <patrick.valsecchi@nagrastar.com>)
Список pgsql-bugs
On Tue, Jul 29, 2003 at 09:48:37 -0600,
  "Valsecchi, Patrick" <patrick.valsecchi@nagrastar.com> wrote:
>
> When doing the following query, it's obvious that postgres should use
> the index:
>
> stats=# explain select min(time) from call;

This has been discussed on the mailing lists numerous times. If you are
interested in details you can search the archives. If you just want a faster
equivalent query use:
select time from call order by time limit 1;

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: problem with libpq7.3.3/encrypted
Следующее
От: Tom Lane
Дата:
Сообщение: Re: html tarball not found in doc/Makefile