aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-08-28 14:32:41 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-08-28 14:32:41 +0000
commitfcba3b82e2d4fe42a0acfb9251fd1a7b4862ca30 (patch)
treeaa0eb4f913189b0169254cbc37c548b525d6a5c6 /src/backend/tcop/postgres.c
parent88b811044322845aabe8362d7f442a04b1c4dbc7 (diff)
downloadpostgresql-fcba3b82e2d4fe42a0acfb9251fd1a7b4862ca30.tar.gz
postgresql-fcba3b82e2d4fe42a0acfb9251fd1a7b4862ca30.zip
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().
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions