for/loop performance in plpgsql ? - Mailing list pgsql-performance

From Federico
Subject for/loop performance in plpgsql ?
Date
Msg-id 20021115123156.GB785@protciv14.cmirl.arpal.it
Whole thread Raw
Responses Re: for/loop performance in plpgsql ?
List pgsql-performance
Hi all,

i've a doubt about how FOR/LOOP works in plpgsql.

It seems to me that the SELECT query executed in that way is much slower
that the same being executed interactively in psql.

In particular it seems that it doesn't make use of indexes.

Does it have any sense or am i wrong/missing something ?

Thanks all.

Ciao

pgsql-performance by date:

Previous
From: "Henrik Steffen"
Date:
Subject: Re: [GENERAL] Upgrade to dual processor machine?
Next
From: Andrew Sullivan
Date:
Subject: Re: [GENERAL] Upgrade to dual processor machine?