pgsql-server/src backend/optimizer/path/allpat ...

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src backend/optimizer/path/allpat ...
Date: 2003-03-22 01:49:38
Message-ID: 20030322014938.930AE47636F@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 03/03/21 20:49:38

Modified files:
src/backend/optimizer/path: allpaths.c
src/backend/optimizer/util: clauses.c
src/backend/parser: parse_clause.c
src/include/parser: parse_clause.h

Log message:
Adjust subquery qual pushdown rules to be more forgiving: if a qual
refers to a non-DISTINCT output column of a DISTINCT ON subquery, or
if it refers to a function-returning-set, we cannot push it down.
But the old implementation refused to push down *any* quals if the
subquery had any such 'dangerous' outputs. Now we just look at the
output columns actually referenced by each qual expression. More code
than before, but probably no slower since we don't make unnecessary checks.

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2003-03-22 02:12:24 pgsql-server/src/backend/utils/adt formatting.c
Previous Message Tom Lane 2003-03-21 23:18:52 pgsql-server/src include/utils/builtins.h back ...