diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-02-27 21:48:04 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-02-27 21:48:04 +0000 |
commit | 6161766daf7fe49647538aedbbfbdb98406fca3d (patch) | |
tree | 36138c41be457e1c0a42d3346d80c6d8630a4ada /src/backend/commands/lockcmds.c | |
parent | df79b847fe8e81ede30a4ef77a1c903d1cb211cf (diff) | |
download | postgresql-6161766daf7fe49647538aedbbfbdb98406fca3d.tar.gz postgresql-6161766daf7fe49647538aedbbfbdb98406fca3d.zip |
Adjust remove_redundant_join_clauses() so that when it has a choice
of which redundant clause to remove, it removes the more expensive one.
In simple scenarios the clauses will be like 'var = var' and there's
no difference, but we are now capable of considering cases where there
are sub-selects in the clauses, and it makes a BIG difference.
Diffstat (limited to 'src/backend/commands/lockcmds.c')
0 files changed, 0 insertions, 0 deletions