Re: GiST index not used for ORDER BY? - Mailing list pgsql-general

From Tom Lane
Subject Re: GiST index not used for ORDER BY?
Date
Msg-id 16653.1106866255@sss.pgh.pa.us
Whole thread Raw
In response to Re: GiST index not used for ORDER BY?  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-general
Oleg Bartunov <oleg@sai.msu.su> writes:
> On Thu, 27 Jan 2005, Max wrote:
>> The basic idea is: a user enters a search query and a maximum of 1000 results
>> is returned, sorted by date, newest first.

> I assume you already vacuum your db. Hmm, seems you need to rewrite your query.

That's not going to help.  GiST doesn't support ordered retrieval does it?
The planner certainly doesn't think so, because pg_am says not.

            regards, tom lane

pgsql-general by date:

Previous
From: David Fetter
Date:
Subject: Re: Oracle and PostgreSQL
Next
From: Lonni J Friedman
Date:
Subject: changing sort_mem on the fly?