pgsql: Fix hash join when inner hashkey expressions contain Params.

2023-06-20 Thread Tom Lane
Fix hash join when inner hashkey expressions contain Params. If the inner-side expressions contain PARAM_EXEC Params, we must re-hash whenever the values of those Params change. The executor mechanism for that exists already, but we failed to invoke it because finalize_plan() neglected to search

pgsql: Fix hash join when inner hashkey expressions contain Params.

2023-06-20 Thread Tom Lane
Fix hash join when inner hashkey expressions contain Params. If the inner-side expressions contain PARAM_EXEC Params, we must re-hash whenever the values of those Params change. The executor mechanism for that exists already, but we failed to invoke it because finalize_plan() neglected to search

pgsql: Fix hash join when inner hashkey expressions contain Params.

2023-06-20 Thread Tom Lane
Fix hash join when inner hashkey expressions contain Params. If the inner-side expressions contain PARAM_EXEC Params, we must re-hash whenever the values of those Params change. The executor mechanism for that exists already, but we failed to invoke it because finalize_plan() neglected to search

pgsql: Fix hash join when inner hashkey expressions contain Params.

2023-06-20 Thread Tom Lane
Fix hash join when inner hashkey expressions contain Params. If the inner-side expressions contain PARAM_EXEC Params, we must re-hash whenever the values of those Params change. The executor mechanism for that exists already, but we failed to invoke it because finalize_plan() neglected to search

pgsql: Fix hash join when inner hashkey expressions contain Params.

2023-06-20 Thread Tom Lane
Fix hash join when inner hashkey expressions contain Params. If the inner-side expressions contain PARAM_EXEC Params, we must re-hash whenever the values of those Params change. The executor mechanism for that exists already, but we failed to invoke it because finalize_plan() neglected to search