François Battail <francois(dot)battail(at)sipibox(dot)fr> writes:
> My bad, got it. May be interesting but as I have a lot of indexes it
> will be hard to test and to choose the best candidate. No idea of how
> it can affect EWKB data indexed by a GiST (PostGIS) index, but it's
> something to try just to know.
You could also raise the statistics target and re-analyze. This will
take some time, but then your query plans might be better.