aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_target.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-11-21 13:19:14 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-11-21 13:19:23 -0500
commit4324ade9a6880113b08070305482ace2e8a2617c (patch)
treecd8ad8bd6fb338c60b2b71b422d759d00a6eeda9 /src/backend/parser/parse_target.c
parenta734fd5d1c309cc553b7c8c79fba96218af090f7 (diff)
downloadpostgresql-4324ade9a6880113b08070305482ace2e8a2617c.tar.gz
postgresql-4324ade9a6880113b08070305482ace2e8a2617c.zip
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>
Diffstat (limited to 'src/backend/parser/parse_target.c')
0 files changed, 0 insertions, 0 deletions