CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl@svr1.postgresql.org 03/08/07 16:20:24
Modified files:
src/backend/optimizer/plan: createplan.c
src/backend/parser: parse_clause.c
src/include/parser: parse_clause.h
src/test/regress/expected: join.out
src/test/regress/sql: join.sql
Log message:
create_unique_plan() should not discard existing output columns of the
subplan it starts with, as they may be needed at upper join levels.
See comments added to code for the non-obvious reason why. Per bug report
from Robert Creager.