pgsql/src/backend/optimizer/util (clauses.c var.c) - Mailing list pgsql-committers

From Tom Lane
Subject pgsql/src/backend/optimizer/util (clauses.c var.c)
Date
Msg-id 200010051911.e95JBWh22492@hub.org
Whole thread Raw
List pgsql-committers
  Date: Thursday, October  5, 2000 @ 15:11:32
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/optimizer/util
     from hub.org:/home/projects/pgsql/tmp/cvs-serv22406/src/backend/optimizer/util

Modified Files:
    clauses.c var.c

-----------------------------  Log Message  -----------------------------

Reimplementation of UNION/INTERSECT/EXCEPT.  INTERSECT/EXCEPT now meet the
SQL92 semantics, including support for ALL option.  All three can be used
in subqueries and views.  DISTINCT and ORDER BY work now in views, too.
This rewrite fixes many problems with cross-datatype UNIONs and INSERT/SELECT
where the SELECT yields different datatypes than the INSERT needs.  I did
that by making UNION subqueries and SELECT in INSERT be treated like
subselects-in-FROM, thereby allowing an extra level of targetlist where the
datatype conversions can be inserted safely.
INITDB NEEDED!

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql/src/backend/optimizer/prep (prepkeyset.c preptlist.c prepunion.c)
Next
From: Tom Lane
Date:
Subject: pgsql/src/backend/parser (parse_clause.c parse_coerce.c parse_expr.c analyze.c gram.y)