Skip to content
Snippets Groups Projects
Commit fcba3b82 authored by Tom Lane's avatar Tom Lane
Browse files

Tweak trivial_subqueryscan() to consider a SubqueryScan's targetlist

trivial if it contains either Vars referencing the corresponding subplan
columns, or Consts equaling the corresponding subplan columns.  This
lets the planner eliminate the SubqueryScan in some cases generated by
generate_setop_tlist().
parent 88b81104
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment