Re: index question

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: index question
Дата
Msg-id 3F9DE31E.2080901@commandprompt.com
обсуждение исходный текст
Ответ на index question  ("Rick Gigger" <rick@alpinenetworking.com>)
Список pgsql-general
Rick Gigger wrote:

> I have heard that postgres will not use an index unless the field has
> a not null constraint on it.  Is that true?

I have never heard that. There are some oddities with using an Index.
For example,
if you are using a bigint you need to '' the value or if you are using
an aggregrate function (mix/max)
you have to specify a where clause but I have not heard the one you have
mentioned.

Anybody else?

Sincerely,

Joshua Drake


--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-222-2783 - jd@commandprompt.com - http://www.commandprompt.com
Editor-N-Chief - PostgreSQl.Org - http://www.postgresql.org



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

Предыдущее
От: George Essig
Дата:
Сообщение: Re: connectby
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: [OT] Choosing a scripting language.