Re: seqscan instead of index scan

From: Martin Sarsale <martin(at)emepe3(dot)net>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: seqscan instead of index scan
Date: 2004-08-30 18:17:29
Message-ID: 1093889849.1680.83.camel@kadaif
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Mon, 2004-08-30 at 15:06, Merlin Moncure wrote:
> create function is_somethingable (ctype, dtype) returns boolean as

Thanks, but I would prefer a simpler solution.

I would like to know why this uses a seqscan instead of an index scan:

create index t_idx on t((c+d));
select * from t where c+d > 0;

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Merlin Moncure 2004-08-30 18:29:24 Re: seqscan instead of index scan
Previous Message Martin Sarsale 2004-08-30 18:07:15 Re: seqscan instead of index scan