pgsql: Remove bogus Assert and dead code in remove_useless_results_recu

2022-11-29 Thread Tom Lane
Remove bogus Assert and dead code in remove_useless_results_recurse(). The JOIN_SEMI case Assert'ed that there are no PlaceHolderVars that need to be evaluated at the semijoin's RHS, which is wrong because there could be some in the semijoin's qual condition. However, there could not be any refer

pgsql: Remove bogus Assert and dead code in remove_useless_results_recu

2022-11-29 Thread Tom Lane
Remove bogus Assert and dead code in remove_useless_results_recurse(). The JOIN_SEMI case Assert'ed that there are no PlaceHolderVars that need to be evaluated at the semijoin's RHS, which is wrong because there could be some in the semijoin's qual condition. However, there could not be any refer

pgsql: Remove bogus Assert and dead code in remove_useless_results_recu

2022-11-29 Thread Tom Lane
Remove bogus Assert and dead code in remove_useless_results_recurse(). The JOIN_SEMI case Assert'ed that there are no PlaceHolderVars that need to be evaluated at the semijoin's RHS, which is wrong because there could be some in the semijoin's qual condition. However, there could not be any refer

pgsql: Remove bogus Assert and dead code in remove_useless_results_recu

2022-11-29 Thread Tom Lane
Remove bogus Assert and dead code in remove_useless_results_recurse(). The JOIN_SEMI case Assert'ed that there are no PlaceHolderVars that need to be evaluated at the semijoin's RHS, which is wrong because there could be some in the semijoin's qual condition. However, there could not be any refer

pgsql: Remove bogus Assert and dead code in remove_useless_results_recu

2022-11-29 Thread Tom Lane
Remove bogus Assert and dead code in remove_useless_results_recurse(). The JOIN_SEMI case Assert'ed that there are no PlaceHolderVars that need to be evaluated at the semijoin's RHS, which is wrong because there could be some in the semijoin's qual condition. However, there could not be any refer