Re: not using index for select min(...)

From: Andrew Sullivan <andrew(at)libertyrms(dot)info>
To: "'pgsql-performance(at)postgresql(dot)org'" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: not using index for select min(...)
Date: 2003-01-31 23:31:04
Message-ID: 20030131183104.L24535@mail.libertyrms.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

On Fri, Jan 31, 2003 at 04:12:38PM -0500, Don Bowman wrote:
> Why wouldn't I be doing an index scan on this table?

Because you're using the aggregate function min(). See

<http://www.ca.postgresql.org/docs/faq-english.html#4.8>

A

--
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew(at)libertyrms(dot)info> M2P 2A8
+1 416 646 3304 x110

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2003-01-31 23:31:12 Re: not using index for select min(...)
Previous Message Hannu Krosing 2003-01-31 23:12:11 Re: Win32 port powerfail testing

Browse pgsql-performance by date

  From Date Subject
Next Message Josh Berkus 2003-01-31 23:31:12 Re: not using index for select min(...)
Previous Message Don Bowman 2003-01-31 21:12:38 not using index for select min(...)