Re: BUG #1797: Problem using Limit in a function, seqscan - Mailing list pgsql-bugs

From Bruno Wolff III
Subject Re: BUG #1797: Problem using Limit in a function, seqscan
Date
Msg-id 20050729140642.GA23650@wolff.to
Whole thread Raw
In response to BUG #1797: Problem using Limit in a function, seqscan  ("Magno Leite" <magnomilk@yahoo.com.br>)
List pgsql-bugs
On Fri, Jul 29, 2005 at 13:52:45 +0100,
  Magno Leite <magnomilk@yahoo.com.br> wrote:
>
> Description:        Problem using Limit in a function, seqscan
>
> I looked for about this problem in BUG REPORT but I can't find. This is my
> problem, when I try to use limit in a function, the Postgre doesn't use my
> index, then it use sequencial scan. What is the problem ?

You haven't described the problem well enough to allow us to help you and
you posted it to the wrong list. This should be discussed on the performance
list, not the bug list.

It would help if you showed us the query you are running and run it outside
of the function with EXPLAIN ANALYSE and show us that output. Depending
on what that output shows, we may ask you other questions.

pgsql-bugs by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: BUG #1797: Problem using Limit in a function, seqscan
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #1751: pg_restore bug