The following bug has been logged online:
Bug reference: 1797
Logged by: Magno Leite
Email address: magnomilk@yahoo.com.br
PostgreSQL version: 8.0
Operating system: Windows XP Professional Edition
Description: Problem using Limit in a function, seqscan
Details:
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 ?