1 pg_hint_plan has limitations in complex queries and introduces overhead when applied.
“pg_hint_plan is great because it exists. But it also, doesn't work in all cases. Like if you have complex queries, you can't really target the right relations. In some cases it has a little bit of overhead when you apply a hint.”