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 - [EMAIL PROTECTED] - http://www.commandprompt.com
Editor-N-Chief - PostgreSQl.Org - http://www.postgresql.org




---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to