"Fahad G." <[EMAIL PROTECTED]> writes: > -- Indexes > CREATE INDEX jobstat_lc_q4_2004_jobid ON jobstat_lc_q4_2004 USING btree > (jobid); > CREATE INDEX jobstat_lc_q4_2004_fetchtime ON jobstat_lc_q4_2004 USING btree > (fetchtime); > CREATE UNIQUE INDEX jobstat_lc_q4_2004_walltime ON > unq_jobstat_lc_q4_2004_jobid_fetch USING btree (jobid, fetchtime);
I bet it's choosing the wrong index. What does EXPLAIN show in each case? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly