sg-report-flight: Use WITH OFFSET 0 for optimisation fence
George Dunlap
Reviewed-byQuoted 8 lines · Ian Jackson
I am not best pleased.
CC George Dunlap <[email protected]>Signed-off-by Ian Jackson <[email protected]>
Reviewed-by George Dunlap <[email protected]>
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.