by jzelinskie · 8y ago · 0 comments
SET PLANNER TO COST
or similar, and default to a more "static" one.
If you're looking to be cross platform then hopefully you've already got a layer to translate intent to an appropriate SQL dialect, so you can drop it in there.
For a cute little select statement, it might be true. However it's just not manageable most of the time.