It's a bit of both.
What pg_hint_plan does is change the cost to favour the hinted suggestion.
If hinted suggestion is impossible, the planner will still perform something else.
But if 'force' means changing what it would do otherwise, where 'otherwise' is: a different plan having the lowest cost, the: yes that is exactly what it does.
FritsHoogland|1 year ago
FritsHoogland|1 year ago
justinclift|1 year ago
The GitHub repo's wording is broken english currently though which is (probably?) worse.
ioltas|1 year ago
pm90|1 year ago