pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Magno Leite <magnomilk@yahoo.com.br>
Cc: pgsql-bugs@postgresql.org
Cc: pgsql-performance@postgresql.org
Subject: Re: BUG #1797: Problem using Limit in a function, seqscan
Date: Fri, 29 Jul 2005 09:06:42 -0500
Message-ID: <20050729140642.GA23650@wolff.to> (raw)
In-Reply-To: <20050729125245.1166CF0B14@svr2.postgresql.org>
References: <20050729125245.1166CF0B14@svr2.postgresql.org>

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.



view thread (3+ messages)

Message-ID: <20050729140642.GA23650@wolff.to>
Permalink:  ../20050729140642.GA23650@wolff.to/
Also on:    postgresql.org/message-id/20050729140642.GA23650@wolff.to

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: bruno@wolff.to, magnomilk@yahoo.com.br, pgsql-bugs@postgresql.org
  Subject: Re: BUG #1797: Problem using Limit in a function, seqscan
  In-Reply-To: <20050729140642.GA23650@wolff.to>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox