pgsql-server/src backend/catalog/dependency.c ...

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src backend/catalog/dependency.c ...
Date: 2002-09-11 14:48:55
Message-ID: 20020911144855.49D16476A4D@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)postgresql(dot)org 02/09/11 10:48:55

Modified files:
src/backend/catalog: dependency.c
src/backend/optimizer/util: clauses.c var.c
src/backend/rewrite: rewriteDefine.c rewriteHandler.c
rewriteManip.c
src/include/optimizer: clauses.h
src/backend/optimizer/prep: prepunion.c

Log message:
Tweak querytree-dependency-extraction code so that columns of tables
that are explicitly JOINed are not considered dependencies unless they
are actually used in the query: mere presence in the joinaliasvars
list of a JOIN RTE doesn't count as being used. The patch touches
a number of files because I needed to generalize the API of
query_tree_walker to support an additional flag bit, but the changes
are otherwise quite small.

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2002-09-11 17:32:38 pgsql-server/src/bin/pg_dump sprompt.c
Previous Message Michael Meskes 2002-09-11 08:50:29 pgsql-server/src/interfaces/ecpg Tag: ecpg_big ...