pgsql: Fix optimization for skipping searches for parallel-query hazard

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix optimization for skipping searches for parallel-query hazard
Дата
Msg-id E1c8tBm-0000YL-3Z@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix optimization for skipping searches for parallel-query hazards.

Fix thinko in commit da1c91631: even if the original query was free of
parallel hazards, we might introduce such a hazard by adding PARAM_EXEC
Param nodes.  Adjust is_parallel_safe() so that it will scan the given
expression whenever any such nodes have been created.  Per report from
Andreas Seltenreich.

Discussion: <878tse6yvf.fsf@credativ.de>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4324ade9a6880113b08070305482ace2e8a2617c

Modified Files
--------------
src/backend/optimizer/util/clauses.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления: