pgsql-server/src/backend/optimizer/util restri ...

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/backend/optimizer/util restri ...
Date: 2004-02-27 21:48:04
Message-ID: 20040227214804.4133DD1CA83@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)svr1(dot)postgresql(dot)org 04/02/27 17:48:04

Modified files:
src/backend/optimizer/util: restrictinfo.c

Log message:
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.

Browse pgsql-committers by date

  From Date Subject
Next Message Dennis Bjorklund 2004-02-28 10:52:06 pgsql-server/src/bin/psql/po sv.po
Previous Message Tom Lane 2004-02-27 21:44:45 pgsql-server/src/backend/utils/adt Tag: REL7_4 ...