Re: query optimiser changes 6.5->7.0

From: Jeff Hoffmann <jeff(at)propertykey(dot)com>
To: Martijn van Oosterhout <kleptog(at)cupid(dot)suninternet(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: query optimiser changes 6.5->7.0
Date: 2000-06-02 15:53:02
Message-ID: 3937D85E.D1136092@propertykey.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Martijn van Oosterhout wrote:

> > set enable_seqscan=off;
>
> But doesn't this mean that if there are no appropriate
> indicies defined on a table, queries will fail?

no, it just makes sequential scans a very bad choice. of course, if
there aren't any other choices, you're stuck going with the bad choice.
that means that if there aren't any other options (i.e. indexes) you'll
always revert to a sequential scan.

jeff

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-06-02 15:54:30 Re: Operations widh CURSORS
Previous Message Tom Lane 2000-06-02 15:32:06 Re: query optimiser changes 6.5->7.0