Skip to contentSkip to conversation

sg-report-flight: Use WITH OFFSET 0 for optimisation fence

PATCH George Dunlap 1 participant 1 message Aug 14, 2020 1 message not in the archive

lore
Share & tools
lore

George Dunlap

author Reviewed-by
#1 lore raw
In reply to a message not in the archive
Quoted 8 lines · Ian Jackson

I am not best pleased.

It is too bad they’re not backporting the “turn off the optimization that breaks everyone’s queries” feature.

I was going to say that OFFSET 0 might be pretty stable; but upon reflection, passing in a zero offset to a query probably isn’t actually that rare (e.g., the first page of search results). It actually is the kind of thing someone might come along and decide to optimize, taking a way yet another fence everyone was using.

Anyway, what can you do.