[COMMITTERS] pgsql: Allow parallel query for prepared statements with generic plans.

2017-10-29 Thread Robert Haas
Allow parallel query for prepared statements with generic plans. This was always intended to work, but due to an oversight in max_parallel_hazard_walker, it didn't. In testing, we missed the fact that it was only working for custom plans, where the parameter value has been substituted for the par

[COMMITTERS] pgsql: Allow parallel query for prepared statements with generic plans.

2017-10-27 Thread Robert Haas
Allow parallel query for prepared statements with generic plans. This was always intended to work, but due to an oversight in max_parallel_hazard_walker, it didn't. In testing, we missed the fact that it was only working for custom plans, where the parameter value has been substituted for the par