* Jean-Arthur Silve <jeanarthur@eurovox.fr> [001206 04:55] wrote:
> Thanks for your help
> pg_exec($dbh, "set enable_seqscan off;");
> seems resolve my problem...
>
> I look at the docs, but I didn't understand very well what is the use of
> this variable ?
run:
explain <your query>
with and without the option, you'll see.