-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
work with hypopg coredump #205
Comments
I'll look at producing a patch about that. For the time being, let's give a poke at @rjuju for the interactions with hypopg. |
Unfortunately there is nothing that hypopg can do to avoid that. It's a simple EXPLAIN so it does add a fake IndexOptInfo with a fake Oid. Then pg_hint_plan tries to call |
Yep. I'm on the same line as you here. Ignoring them sounds like a sane option, even if from the user perspective it could be nice to create an hypothetical index and manipulate the plan paths with hints. |
Actually, I just remembered that there is an existing hook to get the hypothetical index name, as EXPLAIN needs it: |
it seems like pg_hint_plan does not consider the impact of hypothetical indexes, restrict_indexes should filter out the hypothetical IndexOptInfo in RelOptInfo
The text was updated successfully, but these errors were encountered: