2 ms·
> I wonder how hard it would be to give Postgres a pluggable query planner, so that extensions can try to improve on its results. Then people could try things
by anarazel 9y ago
> I wonder how hard it would be to give Postgres a pluggable query planner, so that extensions can try to improve on its results. Then people could try things out without Postgres committing to something too soon.
You can quite easily replace the planner, it's just a single hook. Building a replacement's the hard part ;)
> Can an extension even add syntax?
No, not really. There's no good way to achieve extensibility with a bison based parser. At least none that we PG devs know and "believe" in.