Waiting for Postgres 19: Better planner hints with path generation strategies [video]

youtube.com

62 points by sbuttgereit 11 hours ago


lfittl - 8 hours ago

Thanks for posting! There is a hand-edited transcript here as well, for those who prefer text: https://pganalyze.com/blog/5mins-postgres-19-better-planner-...

And, its noted in the video/transcript, but for clarity: This is talking about new extensibility in Postgres 19 that makes it easier to do Postgres planner hints / plan management extensions.

The patch that was committed is part of a larger proposal (pg_plan_advice) which, if it ends up being committed, would add a version of planner hints to Postgres itself (in contrib). It remains to be seen where that goes for Postgres 19.

lucketone - 2 hours ago

I’m still waiting for the future where planner is a plugin for db.

Seems this is a (small) step in that direction