This is an automated backport of #6917: Block OR BoolExpr from pushdown.
The original issue is #6912.
This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.
This is an automated backport of #6917: Block OR BoolExpr from pushdown. The original issue is #6912. This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.
For more details, please see the documentation
Original description
Block OR BoolExpr from pushdown
RestrictInfo with OR need special handling which we currently do not do which can lead to segfaults in planner if unhandled.
Fixes
#6912