Bill Martin <bill(dot)martin(at)communote(dot)com> writes:
> Ive tried different values for the statistics but it is all the same (the planner decide to switch to a seqscan if the limit is 10).
> ALTER TABLE core_content ALTER column content SET STATISTICS 1000;
Um, did you actually do an ANALYZE after changing that?
regards, tom lane