pgsql/src/backend/parser analyze.c

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/parser analyze.c
Date: 2002-06-13 02:04:47
Message-ID: 20020613020447.C69DE476373@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql
Changes by: tgl(at)postgresql(dot)org 02/06/12 22:04:47

Modified files:
src/backend/parser: analyze.c

Log message:
Repair for bug #691 --- CREATE TABLE AS column aliases fail to be
applied when the select is a UNION (or other set-operation).

An alternative route to a fix would be to leave analyze.c alone and
change plan_set_operations in prepunion.c to take column names from
the topmost targetlist. But I am not sure that would work in all
cases. This patch seems the minimum-risk fix.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2002-06-13 03:40:49 pgsql/src backend/commands/explain.c backend/u ...
Previous Message Bruce Momjian - CVS 2002-06-13 00:54:05 pgsql/contrib/oid2name README.oid2name